[Metabang-bind-devel] Re: bind macro

Gary King gwking at metabang.com
Wed Feb 20 14:00:43 UTC 2008


(cc'd to list)

Hi Hamish,

I agree that bind should not use cl:values to determine how to bind  
things. It's a left over bit from those dear dead days of long ago...  
I'll grab your patch over the weekend (or maybe next weekend <smile>).  
I'm currently more swamped than usual.

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