dev-serveez
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [dev-serveez] guile procedure doc strings


From: Martin Grabmueller
Subject: Re: [dev-serveez] guile procedure doc strings
Date: Tue, 2 Oct 2001 17:20:15 +0200 (MEST)

> From: stefan <address@hidden>
> Date: Sat, 29 Sep 2001 02:40:41 +0200 (CEST)
> 
>   is it possible to supply the text returned by (procedure-documentation
> proc) or (help "proc") by the C interface of Guile ?

Not that I am aware of.  I only know how to do it in Scheme:

guile> (define (f x) "foo bar" x)
guile> (f 1)
1
guile> (procedure-documentation f)
"foo bar"

`procedure-documentation' simply returns the first string in the
procedure body, if there are more expressions following.

'martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]