--
You received this message because you are subscribed to the Google Groups "scalaz" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalaz+un...@googlegroups.com.
To post to this group, send email to sca...@googlegroups.com.
Visit this group at http://groups.google.com/group/scalaz.
For more options, visit https://groups.google.com/d/optout.
import scalaz.\/
import scalaz.concurrent.{Future, Task}
def toTask[T](trier: => Throwable \/ T): Task[T] = new Task[T](Future(trier))