From: Andy Wingo <wingo@pobox.com>
To: "Alex Shinn" <alexshinn@gmail.com>,
"Ludovic Courtès" <ludo@chbouib.org>,
guile-devel <guile-devel@gnu.org>
Subject: ..1 and ...+
Date: Tue, 12 Oct 2010 20:37:00 +0200 [thread overview]
Message-ID: <m3vd57b6lv.fsf@unquote.localdomain> (raw)
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/
reply other threads:[~2010-10-12 18:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3vd57b6lv.fsf@unquote.localdomain \
--to=wingo@pobox.com \
--cc=alexshinn@gmail.com \
--cc=guile-devel@gnu.org \
--cc=ludo@chbouib.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).