unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* case syntax and symbols
@ 2005-03-21 22:57 Aaron VanDevender
  2005-03-22  0:53 ` Marius Vollmer
  0 siblings, 1 reply; 17+ messages in thread
From: Aaron VanDevender @ 2005-03-21 22:57 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2005-06-06 19:26 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-21 22:57 case syntax and symbols Aaron VanDevender
2005-03-22  0:53 ` 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

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).