Re: Use of io!

2013-05-30 Thread dennis zhuang
Yep,wrap code that has side effects, prevent it to be evaluated in STM transaction. 2013/5/30 Maik Schünemann maikschuenem...@gmail.com I think It stops other code to wrap around the code with the explicit io! call. Its declarative way of saying: I am doing io! DONT USE me inside a dosync

Re: Use of io!

2013-05-30 Thread Michael Klishin
2013/5/30 Josh Kamau joshnet2...@gmail.com Whats the point of using io! inside dosync if all it does is make an exception to be thrown? The point is to mark side-effecting code so that you can't accidentally use it in a transaction. -- MK http://github.com/michaelklishin

Re: Use of io!

2013-05-30 Thread Alex Baranosky
Do any of you ever use io! ? I've never used it, but could see using it if I had a transaction-heavy application. On Wed, May 29, 2013 at 11:43 PM, Michael Klishin michael.s.klis...@gmail.com wrote: 2013/5/30 Josh Kamau joshnet2...@gmail.com Whats the point of using io! inside dosync if all

Re: Use of io!

2013-05-30 Thread Josh Kamau
alexander.barano...@gmail.com wrote: Do any of you ever use io! ? I've never used it, but could see using it if I had a transaction-heavy application. On Wed, May 29, 2013 at 11:43 PM, Michael Klishin michael.s.klis...@gmail.com wrote: 2013/5/30 Josh Kamau joshnet2...@gmail.com Whats

Re: Use of io!

2013-05-30 Thread Sean Corfield
On Thu, May 30, 2013 at 1:10 AM, Alex Baranosky alexander.barano...@gmail.com wrote: Do any of you ever use io! ? I've never used it, but could see using it if I had a transaction-heavy application. On Wed, May 29, 2013 at 11:43 PM, Michael Klishin michael.s.klis...@gmail.com wrote

Re: Use of io!

2013-05-30 Thread Gary Trakhman
any of you ever use io! ? I've never used it, but could see using it if I had a transaction-heavy application. On Wed, May 29, 2013 at 11:43 PM, Michael Klishin michael.s.klis...@gmail.com wrote: The point is to mark side-effecting code so that you can't accidentally use

Re: Use of io!

2013-05-30 Thread Gary Trakhman
...@gmail.com wrote: Do any of you ever use io! ? I've never used it, but could see using it if I had a transaction-heavy application. On Wed, May 29, 2013 at 11:43 PM, Michael Klishin michael.s.klis...@gmail.com wrote: The point is to mark side-effecting code so that you can't accidentally

Use of io!

2013-05-29 Thread Josh Kamau
Hi ; Whats the point of using io! inside dosync if all it does is make an exception to be thrown? Please someone make me understand. Regards. Josh -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Use of io!

2013-05-29 Thread Maik Schünemann
I think It stops other code to wrap around the code with the explicit io! call. Its declarative way of saying: I am doing io! DONT USE me inside a dosync. On Thu, May 30, 2013 at 7:47 AM, Josh Kamau joshnet2...@gmail.com wrote: Hi ; Whats the point of using io! inside dosync if all it does