[Ecls-list] FIND-SYMBOL allows both SYMBOL and STRING
Matthew Mondor
mm_lists at pulsar-zone.net
Mon Nov 9 12:26:35 UTC 2009
Hello,
I noticed that on ECL, FIND-SYMBOL allows symbols to be passed when the
HyperSpec shows that the expected argument for the symbol to look for
is a string. The HyperSpec however lists no exceptional situations,
but SBCL will assert that the argument is not a string.
Is it voluntarily that ECL's FIND-SYMBOL is more liberal, also allowing
symbols? Or is it an unanticipated side effect where ecl_find_symbol()
should be more liberal, yet find_symbol() lacks an assertion?
INTERN however errors if a symbol is passed rather than a string,
although it also delegates directly to ecl_intern().
Thanks,
--
Matt
More information about the ecl-devel
mailing list