This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Documentation procedure


forcer <forcer@mindless.com> writes:

> Per Bothner <per@bothner.com> writes:
> 
> >         (set! (documentation VALUE) DOC-STRING)
> >         Associate the documentation string DOC-STRING with VALUE.
> 
> I don't like set! with a list as the first argument - it's not
> the set! we know from R5RS (more like setf from CL)

Yes, but it's the generalized set! that Guile (and Kawa) has, that
has been discussed on this list before, and that I hope to submit a
SRFI (see srfi.schemers.org) for soon.

> Please don't add any "surprising" behavior to R5RS
> functions. Rather add a set-documentation! or documentation-set!.

I assume you meant "primitives" or something like that, since set! is
not a function.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]