I believe the latest code does capture closures properly.  I haven't tested 
all kinds of crazy corner cases, but it does work for all my closures.
>From browsing git, it looks like the project.clj version hasn't been 
incremented in 7 months, and the fix for closures came in after that.  If 
you're using serializable.fn from a maven repo, it is out of date, AFAICT.

-jeff

On Friday, March 30, 2012 3:07:53 PM UTC-4, Phil Hagelberg wrote:
>
> Nathan Matthews <nathan.r.matth...@gmail.com> writes:
>
> > I wanted to serialise functions and send them over the network. The
> > problem with serializable-fn is that it doesn't capture closures.
>
> It's designed to capture closures; if it doesn't that would be an
> (unsurprising) bug.
>
> -Phil
>
>

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