Last active
December 25, 2015 06:39
-
-
Save ceedubs/6934206 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scala> val vs = 1.success[String] :: 2.success[String] :: Nil | |
vs: List[scalaz.Validation[String,Int]] = List(Success(1), Success(2)) | |
scala> vs.traverseU(_.toValidationNel) | |
res9: List[scalaz.Validation[scalaz.NonEmptyList[String],Int]] = List(Success(1), Success(2)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment