Guest User

Untitled

a guest
Dec 11th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. def convert[E, A](in: List[ValidatedNel[E, A]]): Ior[NonEmptyList[E], List[A]] =
  2. in.separate
  3.  
  4. could not find implicit value for parameter G: cats.Bifoldable[cats.data.ValidatedNel]
  5. [error] in.separate
  6.  
  7. def convert[E, A](in: List[ValidatedNel[E, A]]): Ior[NonEmptyList[E], List[A]] =
  8. in.traverse(_.toIor)
  9.  
  10. could not find implicit value for evidence parameter of type cats.Applicative[G]
  11. [error] in.traverse(_.toIor)
Add Comment
Please, Sign In to add comment