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: RnRS/Guile multi-let binding?



> Is there any standard way to do a binding like this:
> 
> (multi-let ((label action image-left)
>             (menu-item-properties menuitem))
>      ... code using bindings of label action image-left ...
> 
> I know this is easy to do (using rewrite to lambda where the actual args
> are the second list of elements), but is there some standard technique
> or module?  It comes up a lot when decomposing lists and trying to write
> readable Scheme code.

Somebody whose name escapes me did a nice pattern-matching package for
Scheme.  I want to snarf it for Guile; pattern matching is so nice.

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