serializable-fn
serializable-fn copied to clipboard
Serializable functions in Clojure
``` clj (let [[a b] (iterate inc 1)] (serializable.fn/fn [])) ``` Will try to consume the entire infinite seq even though nothing refers to it. This is because destructuring let...
I really like what you have implemented there, but something like the following does not work: ``` (fn [a] (fn [] a)) ``` Is this due to the libraries or...
(ns blah (require [serializable.fn :as s])) (defn myfn [](s/fn [])) will not compile - throws NPE.
deftest serializable-roundtrip-with-lexical-context fail with message Caused by: java.lang.Exception: Unable to resolve symbol: dinc in this context as a workaround i just full qualify dinc: ``` (deftest serializable-roundtrip-with-lexical-context (let [x 0]...