Matt Gushee wrote:

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

[with apologies for replying to myself]

Oh, wait:

csi> (pair? ''a)
#t

Aha! I think I'm starting to understand this quoting stuff.

--
Matt Gushee
: Bantam - lightweight file manager : matt.gushee.net/software/bantam/ :
: RASCL's A Simple Configuration Language :     matt.gushee.net/rascl/ :


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to