[Metabang-bind-devel] Re: bind macro
Gary King
gwking at metabang.com
Mon Feb 25 12:47:11 UTC 2008
Hi Hamish,
I've almost finished what I want to do vis-a-vis your patch. Since
I've got a lot of projects that use the older syntax, I'm also adding
a variable that controls how a binding form like ((values a b) (foo))
is interpreted and writing some tests and updating the
documentation... It gets to be a bit crazy! <smile>.
In any case, the change will go real soon now.
thanks again,
On Feb 18, 2008, at 10:31 AM, Hamish Harvey wrote:
> Hi Gary,
>
> I've been finding your bind macro very useful. I don't think it should
> steal `values' as an identifier, though. I just did a "darcs send"
> which I expected to allow me to add an explanatory note.
>
> I expected
>
> (bind (((values foo bar) (values 1 2 3))) ...)
>
> to give me a destructuring-bind, but got a (multiple-value-bind (foo
> bar) ...) instead.
>
> The patch just removes the handling of cl:values, leaving the keyword
> :values, which might not suit you if you use cl:values yourself ...
>
> Cheers,
> Hamish
>
>
> --
> Hamish Harvey
> Research Associate, School of Civil Engineering and Geosciences,
> Newcastle University
--
Gary Warren King, metabang.com
Cell: (413) 559 8738
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM
More information about the metabang-bind-devel
mailing list