[alexandria-devel] Re: Review cycle 1: binding constructs

Tobias C. Rittweiler tcr at freebits.de
Mon Jun 2 06:29:45 UTC 2008


Luis Oliveira <luismbo at gmail.com> writes:

> "Nikodemus Siivola" <nikodemus at random-state.net> writes:
>
> > (if-let (x (foo))
> >   (bar x)
> >   (quux))
> >
> > ...but that may be equally controversial...
>
> I'd like that. But I suppose it'd screw up the lambda list. Perhaps
> Tobias's upcoming EDITOR-HINTS stuff is the answer here.

You can get this indentation already with

  (defmacro if-let (bindings &body (then-form &optional else-form)
    ...)

Did you refer to this as screwing up the lambda-list?

  -T.




More information about the alexandria-devel mailing list