* ..1 and ...+
@ 2010-10-12 18:37 Andy Wingo
0 siblings, 0 replies; only message in thread
From: Andy Wingo @ 2010-10-12 18:37 UTC (permalink / raw)
To: Alex Shinn, Ludovic Courtès, guile-devel
Hello,
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.
http://docs.racket-lang.org/syntax/syntax-patterns.html?q=...+#(form._((lib._syntax/parse..rkt)._......+))
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
..1.
Just a thought, and an idle one at that, given that I have not
implemented anything yet ;)
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-12 18:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-12 18:37 ..1 and ...+ Andy Wingo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).