[racket-dev] Keywords

From: Laurent (laurent.orseau at gmail.com)
Date: Fri Jun 7 02:12:40 EDT 2013

On Fri, Jun 7, 2013 at 1:42 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> At Thu, 9 May 2013 16:22:54 +0200, Laurent wrote:
>
 > I've always wondered why the syntax of keywords implied two elements: the
> > #:keyword and the identifier.
> > I find that quite heavy for procedure headers, and most of the time I use
> > the same symbol for the identifier and the keyword (and when I don't it's
> > because I'm simply lazy and use a shorter identifier).
> >
> > Is there a rationale somewhere for that?
>
> The rationale is to make function definitions have the same shape as
> function calls.
>

I see what you mean, though I wouldn't make a strong case of it (maybe I'm
missing something).

Posted on the dev mailing list.