Menu

#1 Minor boot.lisp problem with letfn

open
nobody
None
5
2003-07-17
2003-07-17
Mark Hurd
No

The definition of letfn should use ~@body rather than
~body.

It's simple enough to fix, but in any case, a workaround
is to insert "block" after the function definitions:

(letfn
((tst1 z)
(prn z)
(tst2 x y)
(tst1 (list y x))
)
block ; broken letfn needs this.
(tst1 'A)
(tst2 'C 'B)
)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.