I am writing a silly letrec in Scheme (DrRacket Pretty Big):
(letrec
((is-creative?
(lambda (writing)
(if (null? writing)
#f
(is-creative?
(eval writing))))))
(is-creative?
(quote is-creative?)))
Syntax check was ok, but running it fails with:
reference to undefined identifier: is-creative?
The debugger says at the point of failure that:
is-creative? => #<procedure:is-creative?>
Can you please tell me what am I missing? Correction would be nice as well, but please no defines, not necessary though.
Thank you!