Hi Marc,
"But the domain model I'm thinking of has lots of mutable things that
change over time when I execute the business actions."
In your case, you don't need any STM to model any of your domain. I'd go
so far as to say that to use refs for this is almost certainly a mistake.
"Of course the
I find the modelling Clojure data structures very similar to working out
what your aggregates roots are for domain-driven design or using a document
data store.
I would suggest avoiding using refs in a customer map. In this case, it
sounds like customer is your natural aggregate root, so you shoul