I've been working on a def-casemacro macro and I've run into some trouble.
The macro defines smaller macros based on a supplied name and test function.
Each one evaluates the first argument and then uses the test to compare the
result to each supplied case, evaluating whatever returns true or raisi
I just wanted to point out that ' is syntactic sugar for (quote) not (list).
(list) will evaluate your arguments, where as '() will not. So if you try to
use them interchangeable you'll run into trouble.
user> (list 1 2 (+ 1 2))
(1 2 3)
user> '(1 2 (+ 1 2))
(1 2 (+ 1 2))
Its a pretty common lisp
Pretty much any lazy-seq thats reading data from somewhere that might give
up on you if you take to long. For example: Your using line-seq to read from
a socket, but the sequence wont be read through until the user does
something.
On Tue, Jan 20, 2009 at 3:32 PM, Mark Volkmann wrote:
>
> Can some