Re: question about (commute messages conj msg)

2008-12-16 Thread Timothy Pratley
> and perl has closure, so it looks commute uses closure concept > > > My question is that conj takes two argument and how conj finds > > > the first argument? Is it somehow provided by commute? commute is passed conj as a function. commute then calls conj messages msg, and sets messages to be th

Re: question about (commute messages conj msg)

2008-12-16 Thread wubbie
Thanks Randall. My background is mostly in imperative languages, including perl and perl has closure, so it looks commute uses closure concept to implement this. Is it right? Thanks again, sun On Dec 16, 9:28 pm, Randall R Schulz wrote: > On Tuesday 16 December 2008 18:10, wubbie wrote: > > >

Re: question about (commute messages conj msg)

2008-12-16 Thread Randall R Schulz
On Tuesday 16 December 2008 18:10, wubbie wrote: > Hello, > > My question is that conj takes two argument and how conj finds > the first argument? Is it somehow provided by commute? Consider the documentation for (commute ...) (at ): -==--==--==--==--==--==--==--==--==--

question about (commute messages conj msg)

2008-12-16 Thread wubbie
Hello, My question is that conj takes two argument and how conj finds the first argument? Is it somehow provided by commute? Thanks, sun --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to t