Re: Support for new bee

2009-01-07 Thread Emeka
Chris and Chris Thanks On Wed, Jan 7, 2009 at 9:09 AM, Christophe Grand wrote: > > janus a écrit : > > It can't figure out why this is not working or was I sleeping while > > trying it out. > > > > (apply #(println %) [2 3]) > > > This line is equivalent to (#(println %) 2 3) which errors since

Re: Support for new bee

2009-01-07 Thread Christophe Grand
janus a écrit : > It can't figure out why this is not working or was I sleeping while > trying it out. > > (apply #(println %) [2 3]) > This line is equivalent to (#(println %) 2 3) which errors since #(println %) takes only one argument. user=> (macroexpand '#(println %)) (fn* [p1__3493] (pri

Re: Support for new bee

2009-01-07 Thread Christian Vest Hansen
On Wed, Jan 7, 2009 at 9:03 AM, Christian Vest Hansen wrote: > You are effectively trying to do (#(println %) 1 2). Typo. I meant to write (#(println %) 2 3). -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this messa

Re: Support for new bee

2009-01-07 Thread Christian Vest Hansen
On Wed, Jan 7, 2009 at 8:26 AM, janus wrote: > > It can't figure out why this is not working or was I sleeping while > trying it out. > > (apply #(println %) [2 3]) The #(println %) procedure takes only one argument (because you only have that one % in there) and you are applying it to two, name

Support for new bee

2009-01-06 Thread janus
It can't figure out why this is not working or was I sleeping while trying it out. (apply #(println %) [2 3]) And, why is it that I can't do this? Instead of (let [{coin :coin :as snake}{...}][coin snake]) I tried this (let [{:coin coin :as snake}{...}][coin snak