Re: processing sequence/collection of functions

2010-08-05 Thread Moritz Ulrich
Functions are fist-class-objects in Clojure. You can pass them around just like every other object. You can even create anonymous functions and pass them to a function. (The function for anonymous functions is called "fn") On Thu, Aug 5, 2010 at 7:10 AM, foop1 wrote: > Hmm interesting , Thank you

Re: processing sequence/collection of functions

2010-08-04 Thread foop1
Hmm interesting , Thank you for your answer. On Aug 5, 12:36 am, Miki wrote: > Hello, > > > Does anyone of you can say as to how to pass in a collection/sequence > > of functions as input? > > > for ex pass in a vector /sequence [ function1 function2 function3] at > > the other end it would read

Re: processing sequence/collection of functions

2010-08-04 Thread Miki
Hello, > Does anyone of you can say as to how to pass in a collection/sequence > of functions as input? > > for ex pass in a vector /sequence [ function1 function2 function3] at > the other end it would read in the vector and execute those functions user=> (defn f1 [] 1) #'user/f1 user=> (defn f2[

processing sequence/collection of functions

2010-08-04 Thread foop1
Hi, Does anyone of you can say as to how to pass in a collection/sequence of functions as input? for ex pass in a vector /sequence [ function1 function2 function3] at the other end it would read in the vector and execute those functions Thank you -- You received this message because you are