The Little Calculist
Dave Herman's research blog.
Saturday, February 07, 2009
A funny reader context
Trivia time: find a place in the Scheme reader where
,
expr
is not equivalent to
(
unquote
expr
)
.
Answer:
> (define ls '(1 2 3))
> `#(unquote ls)
#(1 2 3)
> `#,ls
#,ls
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment