guile-devel
[Top][All Lists]
Advanced

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

Re: let-keywords?


From: Han-Wen Nienhuys
Subject: Re: let-keywords?
Date: Thu, 14 Dec 2006 12:20:56 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20061107)

Kevin Ryde escreveu:
> I checked in the text below.
> 
> 
> 
> 5.8.3.2 let-keywords Reference
> ..............................
> 
> `let-keywords' and `let-keywords*' extract values from keyword style
> argument lists, binding local variables to those values or to defaults.
> 
>  -- library syntax: let-keywords args allow-other-keys? (binding ...)
>           body ...
>  -- library syntax: let-keywords* args allow-other-keys? (binding ...)
>           body ...
>      ARGS is evaluated and should give a list of the form `(#:keyword1
>      value1 #:keyword2 value2 ...)'.  The BINDINGs are variables and
>      default expressions, with the variables to be set (by name) from
>      the keyword values.  The BODY forms are then evaluated and the
>      last is the result.  An example will make the syntax clearest,


excellent!

-- 
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen





reply via email to

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