Skip to content

Commit

Permalink
Small tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Luka Jacobowitz committed Aug 21, 2018
1 parent 1f16bb8 commit 8d31a63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/scala/cats/data/EitherT.scala
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ final case class EitherT[F[_], A, B](value: F[Either[A, B]]) {
def toValidatedNel(implicit F: Functor[F]): F[ValidatedNel[A, B]] =
F.map(value)(_.toValidatedNel)

def toValidatedNec(implicit F: Functor[F]): F[ValidatedNec[A, B]] = ???
def toValidatedNec(implicit F: Functor[F]): F[ValidatedNec[A, B]] =
F.map(value)(_.toValidatedNec)

/** Run this value as a `[[Validated]]` against the function and convert it back to an `[[EitherT]]`.
*
Expand Down

0 comments on commit 8d31a63

Please sign in to comment.