[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
case syntax and symbols
From: |
Aaron VanDevender |
Subject: |
case syntax and symbols |
Date: |
Mon, 21 Mar 2005 16:57:30 -0600 |
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.
--
address@hidden
Plead the First.
- case syntax and symbols,
Aaron VanDevender <=