is this legal?
(ECASE 'OTHERWISE (OTHERWISE 4))
CMUCL, Allegro and LispWorks signal an error
CLISP and CormanLisp warn and return 4
GCL returns 4
The spec is not quite clear.
Thanks!
--
Sam Steingold (http://www.podval.org/~sds)
Sex is like air. It's only a big deal if you can't get any.
Sam Steingold <ยทยทยท@gnu.org> writes:
> (ECASE 'OTHERWISE (OTHERWISE 4))
The way I read the spec, this is perfectly legal. Only in the case of
CASE should you need to do (case 'otherwise ((otherwise) 4)). Still,
I'd think it wise to put those parens around T or OTHERWISE when used
as symbol keys, even for ECASE and CCASE.
--
Frode Vatvedt Fjeld