[Top][All Lists]

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

..1 and ...+

From: Andy Wingo
Subject: ..1 and ...+
Date: Tue, 12 Oct 2010 20:37:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)


It appears that Racket's syntax-parse macro system writes `..1' as
`...+'. It seems to me to be a better spelling of match's `..1', and
better embodies the "0, 1, many" aspect of counting.

I think I'm going to recommend ...+ as the preferred spelling of this
concept, and eventually add it to Guile's syntax-rules / syntax-case
system.  Your match system might want to add it too, as a synonym of

Just a thought, and an idle one at that, given that I have not
implemented anything yet ;)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]