[racket-dev] else clauses: possible change to match?

From: Ryan Culpepper (ryanc at ccs.neu.edu)
Date: Sun May 5 13:22:26 EDT 2013

On 05/05/2013 12:49 PM, Eric Dobson wrote:
>> Keywords are normally right because
>> they are syntactically distinct from expressions --- and so using a
>> keyword avoids various potential ambiguities and sources of confusion.
>
> Isn't this only true for default bindings of #%datum? It seems like
> macros which assume this lose compatibility with #langs that allow
> keywords as expressions. I'm not sure whether we want to support that
> or not, but it seems wrong to say that they are syntatically distinct
> from expressions.

I think it goes the other way around: we want keywords not be be 
expressions, so we would discourage languages from defining #%datum 
macros that accept them.

Ryan


Posted on the dev mailing list.