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]

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.

Thanks,
Greg

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