chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Re: A few questions


From: John Cowan
Subject: Re: [Chicken-users] Re: A few questions
Date: Tue, 29 Jan 2008 16:37:06 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

Hans Nowak scripsit:

> Re docstrings: My next question would be, is it possible to add them (e.g. 
> as a library)?  And would it be desirable to do so?  Apparently it is 
> already possible to write code like:
> 
> (define (foo x)
>   "docstring for foo"
>   ...body...)

Yes, but that will not work for non-function definitions; furthermore,
(define (f x) "foobar") is ambiguous: is "foobar" a docstring, or
the constant result of the function f?

-- 
Income tax, if I may be pardoned for saying so,         John Cowan
is a tax on income.  --Lord Macnaghten (1901)           address@hidden




reply via email to

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