From: Aaron VanDevender <sig@netdot.net>
Subject: case syntax and symbols
Date: Mon, 21 Mar 2005 16:57:30 -0600 [thread overview]
Message-ID: <1111445850.6034.15.camel@vandvndr.physics.uiuc.edu> (raw)
Hello,
I have noticed that guile evaluates the following to #t
(case 'x
('x #t)
(else #f))
even though R5RS section 4.2.1 seems to say that all of the statements
(besides else) must be of the form ((datum ...) ...). Clearly the symbol
'x is not a list. What is going on here? Is this an agreed upon, but not
specified syntax? Scheme48 also evaluates this to #t.
--
sig@netdot.net
Plead the First.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next reply other threads:[~2005-03-21 22:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-21 22:57 Aaron VanDevender [this message]
2005-03-22 0:53 ` case syntax and symbols Marius Vollmer
2005-03-22 7:21 ` Neil Jerram
2005-05-22 17:41 ` Marius Vollmer
2005-05-23 1:58 ` Kevin Ryde
2005-06-06 19:21 ` Marius Vollmer
2005-05-23 18:39 ` Neil Jerram
2005-05-24 11:39 ` Ludovic Courtès
2005-05-24 18:01 ` Neil Jerram
2005-05-26 10:53 ` Ludovic Courtès
2005-05-26 18:30 ` Neil Jerram
2005-06-06 19:26 ` Marius Vollmer
2005-06-06 19:23 ` Marius Vollmer
2005-03-22 9:17 ` Ludovic Courtès
2005-03-22 13:23 ` Marius Vollmer
2005-03-22 15:28 ` Ludovic Courtès
2005-03-22 16:28 ` Marius Vollmer
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=1111445850.6034.15.camel@vandvndr.physics.uiuc.edu \
--to=sig@netdot.net \
/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).