lambda?

Started by Sammo, November 05, 2005, 11:42:33 AM

Previous topic - Next topic

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

HPW

#1
Isn't  'macro?' for that?
Hans-Peter

Sammo

#2
Thanks, HPW ... macro? it is!