From attila.lendvai at gmail.com Thu Nov 22 13:22:03 2007 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Thu, 22 Nov 2007 14:22:03 +0100 Subject: [Metabang-bind-devel] problem with binding values Message-ID: hi! i've pulled the recent changes and seems like there's a regression. please find the fix at: darcs pull http://common-lisp.net/project/cl-dwim/darcs/metabang-bind/ -- attila From attila.lendvai at gmail.com Thu Nov 29 14:23:27 2007 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Thu, 29 Nov 2007 15:23:27 +0100 Subject: [Metabang-bind-devel] fix for ignore/ignorable of (values ...) binding dropping the first entry Message-ID: hi, seems like the handling of ignore/ignorable is dropping the first element: (bind (((values a b) 42)) (declare (ignore a b))) (MULTIPLE-VALUE-BIND (A B) 42 (DECLARE (IGNORE B))) a fix is available at: darcs pull http://common-lisp.net/project/cl-dwim/darcs/metabang-bind/ happy hacking, -- attila From gwking at metabang.com Fri Nov 30 20:13:33 2007 From: gwking at metabang.com (Gary King) Date: Fri, 30 Nov 2007 15:13:33 -0500 Subject: [Metabang-bind-devel] Re: bind with vectors In-Reply-To: <20071130160610.GA12804@pu100877.student.princeton.edu> References: <20071130160610.GA12804@pu100877.student.princeton.edu> Message-ID: (cc'd to list) Hi Tamas, This seems like a fun idea; I'll see what I can whip up over the weekend. cheers, On Nov 30, 2007, at 11:06 AM, Tamas K Papp wrote: > Hi Gary, > > I wonder if it would be possible to handle vectors with bind. > Something like > > (bind ((#(a b) #(1 2))) > (+ a b)) ; => 3 > > It would come handy for me in numerical Lisp code (eg a multivariate > optimizer returning the coordinates as a vector, etc). > > Thanks, > > Tamas -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM