Lisp HUG Maillist Archive

Re: documentation strings on lambda expressions


He is right that the behaviour of documentation is wierd.

CL-USER 45 > (defparameter *var* 0 "comment")
*VAR*

CL-USER 46 > (documentation '*var* 'variable)
"comment"

CL-USER 47 > (defparameter *var* 0)
*VAR*

CL-USER 48 > (documentation '*var* 'variable)
"comment"

CL-USER 49 > (makunbound '*var*)
*VAR*

CL-USER 50 > (documentation '*var* 'variable)
"comment"

Apparently you can't get the documentation string from a lambda.


Re: documentation strings on lambda expressions

Unable to parse email body. Email id is 7004

Updated at: 2020-12-10 08:45 UTC