On Sep 17, 7:13 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:
> Unfortunately not. If you want to see a consistent view of a set of
> refs you must be in a transaction, and it's not workable to require
> all fn calls be in transactions.

More speculation, again just out of curiosity:  Say you have a system
where certain function definitions act like rules, and you want to
change those rules in a transactional manner.  Would it be reasonable
to wrap just those functions with Refs?

On a related note, would it be possible to implement atomic, system-
wide transactions by suspending the current computation, replacing
some root bindings, and continuing?  How do long-running systems like
Erlang handle this problem?

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

Reply via email to