This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Documentation procedure
- To: Keith Wright <kwright at tiac dot net>
- Subject: Re: Documentation procedure
- From: Per Bothner <per at bothner dot com>
- Date: 06 Dec 1999 23:43:18 -0800
- Cc: guile at sourceware dot cygnus dot com
- References: <199912070424.XAA00619@kwright.tiac.net>
Keith Wright <kwright@tiac.net> writes:
> I propose a procedure:
>
> (DOCUMENT-VALUE string value)
> -- attach string to the value in such a way that
> the various auto-documentation procedures can get it
> back again. Return the value.
How about:
(documentation VALUE)
Returns documentation string associated with VALUE
(usually a procedure).
(set! (documentation VALUE) DOC-STRING)
Associate the documentation string DOC-STRING with VALUE.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/