The best you can do is probably mess with 
https://github.com/technomancy/serializable-fn, but maybe trying to 
describe what you are trying to do at a higher level would help, most of 
the time using serializable-fn is a bad idea (symptom of one).


On Thursday, November 21, 2013 7:14:39 PM UTC+1, henry w wrote:
>
> Say you have a function created like this:
>
> (fn [x] (+ x y))
>
> and then you have a reference to an instance of this function, is there 
> some way to use the function reference to access the list '(fn [x] (+ x y)),
> including the symbol 'y' (such that you could dereference 'y' and get its 
> value)? The source function is not the right thing and so far googling 
> hasn't got me the answer.
>
> Thanks
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to