It prevents write skew when you wish to use a non-modified ref as a condition for the transaction to proceed. Here's a nice description: http://clojure.higher-order.net/2009/09/the-write-skew-anomaly/
On Sep 29, 10:32 pm, Volkan YAZICI <[email protected]> wrote: > Hi, > > Can anybody give an example to the usage of "ensure". I couldn't figure > out what exactly it does from its documentation string. > > Regards. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. 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 -~----------~----~----~----~------~----~------~--~---
