Michal, aren't those examples backwards? I would expect the ensure version to be the one that needs to retry, and the deref version to be the one that doesn't.
2010/3/14 Michał Marczyk <[email protected]> > On 15 March 2010 06:47, Mark Engelberg <[email protected]> wrote: > > What's a minimal example that demonstrates when ensure is necessary? > > Here's a link to my posting to an earlier thread with a minimal > example of how ensure is different from deref: > > http://groups.google.com/group/clojure/msg/8e477df4b5cf418e > > Is this what you're looking for? > > Sincerely, > Michał > > -- 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
