From: Sam Steingold
Subject: OTHERWISE in ECASE
Date: 
Message-ID: <uvgnmp8lo.fsf@xchange.com>
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.
From: Frode Vatvedt Fjeld
Subject: Re: OTHERWISE in ECASE
Date: 
Message-ID: <2hd79u1cg2.fsf@dslab7.cs.uit.no>
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