[alexandria-devel] [PATCH] PROG1-LET

Liam Healy lnp at healy.washington.dc.us
Sun Apr 8 20:22:07 UTC 2012


On Sat, Apr 7, 2012 at 4:34 PM, Nikodemus Siivola <
nikodemus at random-state.net> wrote:

> On 7 April 2012 23:25, Benjamin Saunders <ralith at gmail.com> wrote:
>
> > PROG1-LET is a binding macro modeled closely after WHEN-LET and
> > friends, which I have regularly found useful in code to implement the
> > "create, modify, return" pattern common in some imperative
> > code. As a simple and, I believe, widely useful macro, I'd like to see
>
> Thanks!
>
> Can you show an example or two of this pattern as you use it?
>
> Cheers,
>
>  -- Nikodemus
>

I find metabang-bind useful for this kind of thing,
http://common-lisp.net/project/metabang-bind/
(though it doesn't have the prog1 aspect as far as I know).
Is it necessary to duplicate functionality in alexandria?

Liam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/alexandria-devel/attachments/20120408/6cbd1e21/attachment.html>


More information about the alexandria-devel mailing list