[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] [r6rs-discuss] case reborn
On Mon, 2010-12-27 at 00:49 -0500, John Cowan wrote:
> Adrien "Pied" Piérard scripsit:
> > And the more I think about it (that, is, not a lot though), the more I
> > think that CASE is quite useless, as it could be implemented I guess
> > straightforwardly in terms of COND.
>
> The same is true of COND, which can be implemented in terms of IF. That
> is why R5RS separates the descriptions of derived and primitive syntax.
I'd say - let CASE it live, but do more (still thinking about
generalizing CASE to do more than just literals, i.e., pattern
matching). That can not be implemented straightforwardly in terms of any
primitive syntax.
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports