added monadic ops to TransactionalRef, fixed bug with nested txs

This commit is contained in:
jboner 2009-09-17 09:47:22 +02:00
parent 3be193904d
commit 2998fa4dbc
11 changed files with 265 additions and 231 deletions

View file

@ -47,7 +47,7 @@ object Multiverse {
* @author <a href="http://jonasboner.com">Jonas Bon&#233;r</a>
*/
object Transaction {
val idFactory = new AtomicLong(0L)
val idFactory = new AtomicLong(-1L)
// -- Monad --------------------------