Hmm interesting , Thank you for your answer.

On Aug 5, 12:36 am, Miki <miki.teb...@gmail.com> 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 in the vector and execute those functions
>
> user=> (defn f1 [] 1)
> #'user/f1
> user=> (defn f2[] 2)
> #'user/f2
> user=> (defn f3[] 3)
> #'user/f3
> user=> (def v [f1 f2 f3])
> #'user/v
> user=> (map #(%) v)
> (1 2 3)
>
> HTH,
> --
> Miki

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to