Theoretically, yes, you could build this with Monads. But I'm not the one to ask about that. :)
There's also something that Rich Hickey was working on last year called "Pods" or "Cells" -- basically a new reference type that allows safe access to a mutable object. As far as I know, the design was never finished, but you can find video of Rich talking about it here: http://www.infoq.com/interviews/hickey-clojure-protocols And some notes at http://dev.clojure.org/display/design/Mutex+references+%28pods%2C+nee+cells%29 -Stuart Sierra clojure.com -- 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