Hi Thomas,

Thomas Chust <[email protected]> wrote:
> <[email protected]> wrote:
> 
> > [...]
> > please can someone explain to me why the following even works?
> > 
> >   (define sym 'b)
> > 
> >   (case sym
> >     ('a "an 'a'")

> [...]
> The apostrophe is a *reader* macro, so before the compiler or
> interpreter ever gets to see that code, 'a is transformed to (quote
> a), 'b to (quote b) and 'c to (quote c). These three forms are
> obviously lists
> [...]

Thank you very much for the clarification. I guess it takes a
while to read and write scheme code fluently...

lg
Martin

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

Reply via email to