On Feb 10, 10:24 pm, Jeffrey Straszheim <[email protected]>
wrote:
> Say hello to laziness.
>
> Your code is returning a lazy seq (from the map), which is evaluated by the
> reader outside of the dosync.
>
> Now what I don't understand is why, when I run:
>
> (dosync (dorun (map ensure [account1])))
>
> I get:
>
> java.lang.RuntimeException: java.lang.IllegalArgumentException: No
> matching method found: get for class clojure.lang.Ref (NO_SOURCE_FILE:0)
>
> *sigh*
>
Fixed in SVN 1271 - thanks for the report.
Rich
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---