Thank you both! That works. I'm not sure I understand why, though. From the error message, you would think it needs fewer steps of evaluation, not more. Meanwhile, if I do:
(defn non-sandbox [func inputs] (map (fn [inp] (eval `(~func ~inp))) inputs)) this has no problem taking a function. But I also notice it works on both quoted and unquoted forms. So is this something I don't understand about Clojure, not Clojail? On Mar 9, 7:41 am, Alan Malloy <a...@malloys.org> wrote: > Indeed. Don't pass it the function +, pass it the symbol '+. > > On Mar 9, 1:20 am, "Meikel Brandmeyer (kotarak)" <m...@kotka.de> > wrote: > > > > > > > > > Hi, > > > without being too deep in clojail and the like... > > > Try quoting the func and input values to your function-sandbox function. > > > 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