Hi,

Am 21.12.2009 um 22:53 schrieb AlexK:

> (defn form->fn [list-to-eval]
>  (eval (list 'fn [] list-to-eval))) ;this returns a fn

Please, make it a habit of writing even such simple code as `(fn [] 
list-to-eval) (or `(fn [] ~...@list-to-eval) if list-to-eval is a Var or a 
local). If you make it a habit, you don't even come into the temptation to 
write broken macros.

Sincerely
Meikel

-- 
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