chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Syntax of case expressions


From: Elf
Subject: Re: [Chicken-users] Syntax of case expressions
Date: Sat, 1 Mar 2008 16:40:04 -0800 (PST)



id consider it a bug with the reader fighting with the macroexpander for unpredictable dominance of the universe.

-elf


On Thu, 28 Feb 2008, Ivan Raikov wrote:



 Well, R5RS does not specify what happens in the second case, so you
can consider it a feature :-)


Matt Gushee <address@hidden> writes:


Wait a minute, though. I understand now why

  (('a) ...)

didn't match, but how is it that

  ('a ...)

isn't a syntax error? Is it because 'a expands to (quote a), and is
thus treated by case as a list of the symbols quote and a? And if so,
is that correct behavior? After all,

csi> (pair? 'a)
#f

(as I expected).


_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users





reply via email to

[Prev in Thread] Current Thread [Next in Thread]