Re:A self-infecting datatype in Lisp
by AUmrysh on Tuesday January 24, 2012 @01:02PM
(#3505836)
As a CL newbie, what would you suggest be used instead? Also, why would you not use nested defuns?
[ Parent
| on HN ]
labels? http://www.lispworks.com/documentation/HyperSpec/Body/s_flet...
My guess: the nested defun is not only defined in the enclosing defun scope as it may seem, but in the whole current package.
http://www.lispworks.com/documentation/HyperSpec/Body/m_defu... "Defines a new function named function-name in the global environment"
Is it only a bad idea because it's bad style or is there more to it?