1

I try to transphorm Seq[\/[String,A]] to \/[String,Seq[A]]

After some research a find the sequenceU method. But I'm unable to use it, I think by cause of a bad import.

import scalaz.syntax.id._
import scalaz.Monoid
import scalaz.ValidationNel
import scalaz._
import scalaz.syntax.std.option._
import scalaz.syntax.traverse._

Maybe I'm not importing an implicit Traversable as Applicative

The compiler error message is

value sequenceU is not a member of Seq[scalaz.\/[String,A]]
crak
  • 1,635
  • 2
  • 17
  • 33

0 Answers0