scalaz/scalaz — comment on commit a18ad738dcfa24b2bbad5e7753d76eee183778af
File:  line 0
By rwallace:

Not sure why, but this appears to have made `!` a synchronous operation

scala> import scalaz._, Scalaz._, concurrent._
import scalaz._
import Scalaz._
import concurrent._

scala> val a = Actor { (i: Int) => println("pausing for %d ms".format(i)); Thread.sleep(i); println("done") }
a: scalaz.concurrent.Actor[Int] = Actor(,)

scala> def time(f: => Unit) = { val s = System.currentTimeMillis; f; System.currentTimeMillis - s }
time: (f: => Unit)Long

scala> time(a ! 5000)
pausing for 5000 ms
done
res1: Long = 5001