Skip to content

Instantly share code, notes, and snippets.

@coltfred
Last active December 22, 2015 18:39
Show Gist options
  • Save coltfred/6514343 to your computer and use it in GitHub Desktop.
Save coltfred/6514343 to your computer and use it in GitHub Desktop.
import scalaz._, Scalaz._
val a: List[Int] = List(1)
a.traverse{_.point[Option].toRightDisjunction("fail")}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment