Page 1 of 1

lambda?

Posted: Sat Nov 05, 2005 7:42 pm
by Sammo
lambda? returns true as expected in the following:

> (define (bob))
(lambda ())
> (lambda? bob)
true

Should lambda? also return true in the following?

> (define-macro (bob))
(lambda-macro ())
> (lambda? bob)
nil

Posted: Sat Nov 05, 2005 8:00 pm
by HPW
Isn't 'macro?' for that?

Posted: Sat Nov 05, 2005 8:01 pm
by Sammo
Thanks, HPW ... macro? it is!