Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def convert[E, A](in: List[ValidatedNel[E, A]]): Ior[NonEmptyList[E], List[A]] =
- in.separate
- could not find implicit value for parameter G: cats.Bifoldable[cats.data.ValidatedNel]
- [error] in.separate
- def convert[E, A](in: List[ValidatedNel[E, A]]): Ior[NonEmptyList[E], List[A]] =
- in.traverse(_.toIor)
- could not find implicit value for evidence parameter of type cats.Applicative[G]
- [error] in.traverse(_.toIor)
Add Comment
Please, Sign In to add comment