logo       

Re: HS violations in Corman: msg#00123

lisp.corman

Subject: Re: HS violations in Corman

Roger Corman wrote:

> I had no idea lambda forms supported doc strings. I thought those were
> purely part of DEFxxx macros (defun, defvar, etc.). What is the system
> supposed to do with them (besides properly parse them)?

See the page for DOCUMENTATION

(documentation x 'function) does this:

If x is a function, returns the documentation string associated with x.

but note that a conforming implementation is free to discard documentation
strings at any time. If it does not, you get:

(documentation #'(lambda () "foo" nil) 'function) ==> "foo"

Paul






------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/xaxhjB/hdqFAA/xGHJAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cormanlisp-unsubscribe@xxxxxxxxxxxxxxx



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise