[alexandria-devel] Re: Review cycle 2: SWITCH, ESCWITCH, and CSWITCH

Tobias C. Rittweiler tcr at freebits.de
Sat Jun 7 16:33:30 UTC 2008


Luis Oliveira <luismbo at gmail.com> writes:

> "Attila Lendvai" <attila.lendvai at gmail.com> writes:
>
> > my docstring for switch would look like this: "Similar to CL:CASE but
> > compares using a user supplied :test function." (if i was forced to
> > write one for a 10-liner, that is... :)
>
> Also, unlike CASE, it evaluates the test clauses.

Uh, I didn't know that. I thought it would expand into something more
efficient than COND. 

This means that you can't have a clause with multiple keys, right? Then
I feel the lack of a fall-through facility.

  -T.




More information about the alexandria-devel mailing list