[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] bodies in case and cond clauses

On Thu 19 May 2011 19:48, John Cowan <cowan@x> writes:

> Andy Wingo scripsit:
>> Suggestion: make the clauses in `case' and `cond' forms (without =>,
>> naturally) be BODY instances, to allow them to have definitions.  It is
>> well defined AFAIK, and costs nothing.
> Ticket filed.  I'm against this one, though, because of the bizarre
> appearance of (cond ((pred1) (define ...) (e1)) ...).  Internal definitions
> always come first everywhere else in Scheme except at the top level and
> top-level BEGINs.

A fair point.


Scheme-reports mailing list