Re: [Scheme-reports] ANN: first draft of R7RS small language available Andy Wingo (03 May 2011 13:19 UTC)

Re: [Scheme-reports] ANN: first draft of R7RS small language available Andy Wingo 03 May 2011 13:18 UTC

On Tue 03 May 2011 14:52, Andre van Tonder <andre@het.brown.edu> writes:

>     (let ((else #f))
>       (cond (else (display "else clause matched"))))
>
> should be equivalent to
>
>     (let ((x #f))
>       (cond (x (display "else clause matched"))))

Playing devil's advocate here... what about this one?

    (let ((else #f))
      (quote else))

I think Andrzej's argument is that cond treats `else' not as an
identifier but as a datum, as `quote' does.

FWIW, I don't know what I think on this matter.

Andy
--
http://wingolog.org/

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports