Re: destructuring using :as in fn arg vector

2010-07-28 Thread Cameron
Ahhh! It's so obvious now that I'm almost embarrassed. Thank you Randy Cam On Jul 27, 4:17 pm, Randy Hudson wrote: > The form you're looking for is (defn foo [ & [a b :as c]] ...) > > On Jul 27, 2:57 pm, Cameron wrote: > > > > > Hey all, just wondering if this is normal or not. There seems to

Re: destructuring using :as in fn arg vector

2010-07-27 Thread Randy Hudson
The form you're looking for is (defn foo [ & [a b :as c]] ...) On Jul 27, 2:57 pm, Cameron wrote: > Hey all, just wondering if this is normal or not. There seems to be > something weird going on with :as in a functions arg vector. > > This little example works as I'd expect... > user=> (defn foo