Re: Clojure ensure

2010-10-02 Thread ka
I follow this thread, but haven't read Clojure's source. I have a similar question - http://groups.google.com/group/clojure/browse_thread/thread/46415b89c7b311f6, but haven't got any responses yet. -- You received this message because you are subscribed to the Google Groups Clojure group. To

Re: Clojure ensure

2010-09-15 Thread Stuart Halloway
it. (Except that I don't know the Oracle reference, so can't speak to that.) Stu The first one is correct. On Tue, Sep 14, 2010 at 3:22 PM, peter veentjer alarmnum...@gmail.com wrote: I have got a question about the Clojure ensure and how it actually works and the documentation doesn't provide

Re: Clojure ensure

2010-09-15 Thread Daniel Gagnon
On Wed, Sep 15, 2010 at 10:44 AM, Stuart Halloway stuart.hallo...@gmail.com wrote: Encounter time. I am sitting next to Rich as I write this. Guaranteed or implementation detail? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this

Clojure ensure

2010-09-14 Thread peter veentjer
I have got a question about the Clojure ensure and how it actually works and the documentation doesn't provide enough information. I see a few different solutions: 1) An optimistic approach: Once a ref is 'ensured' it is included in the conflict detection set. This means that the approach

Re: Clojure ensure

2010-09-14 Thread Daniel Gagnon
The first one is correct. On Tue, Sep 14, 2010 at 3:22 PM, peter veentjer alarmnum...@gmail.comwrote: I have got a question about the Clojure ensure and how it actually works and the documentation doesn't provide enough information. I see a few different solutions: 1) An optimistic

Re: Clojure ensure

2010-09-14 Thread Stuart Halloway
Actually, the second one is basically it. (Except that I don't know the Oracle reference, so can't speak to that.) Stu The first one is correct. On Tue, Sep 14, 2010 at 3:22 PM, peter veentjer alarmnum...@gmail.com wrote: I have got a question about the Clojure ensure and how it actually

Re: Clojure ensure

2010-09-14 Thread peter veentjer
to that.) Stu The first one is correct. On Tue, Sep 14, 2010 at 3:22 PM, peter veentjer alarmnum...@gmail.com wrote: I have got a question about the Clojure ensure and how it actually works and the documentation doesn't provide enough information. I see a few different solutions: 1

Re: Clojure ensure

2010-09-14 Thread peter veentjer
to that.) Stu The first one is correct. On Tue, Sep 14, 2010 at 3:22 PM, peter veentjer alarmnum...@gmail.com wrote: I have got a question about the Clojure ensure and how it actually works and the documentation doesn't provide enough information. I see a few different