On 11.05.2010, at 11:42, Michael Jaaka wrote: > Since in Clojure 1.2 all data structures are serializable and Clojure > is homoiconicity language. Why don't make functions serializable? I'm > trying to pass function with RMI and execute in on the second REPL.
I didn't try this myself yet, but my understanding is that is possible to serialize functions with Clojure 1.2. However, this requires that the JVM that serializes and the JVM that deserializes use the same class files. In practice, this means you have to AOT compile your code and use the same class (or jar) files everywhere. Konrad. -- 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