-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add MonadError instance for EitherT that recovers from F[_] errors. (#…
…1644) * Added map and recover F functions * Added tests for new EitherT functions * Removed tests with Future in EitherTTests * Added addtional MonadError instance for EitherT for recovering from F Errors * Added transformF and deleted mapF * Changed implicit parameter names in recoverF and recoverFWith * Added tests for EitherT collectRight and applyAlt * Added MonadError tests for EitherT instance that recovers from F * Removed MonadError tests with Future, replaced it with Option * Added serializable test * Changed the right type from Int to String in MonadError test for EitherT * added option -Xlog-implicits to build.sbt * Removed transformF from EitherT * Removed unused imports * Redefined Eq instances in EitherTTests * Redo of the collectRight fix in EitherTTests * Removed unnecesary syntax import in EitherT tests * Deleted recoverF and recoverFWith functions from EitherT * Added comment doc for catsDataMonadErrorFForEitherT * Separated EitherT test for F recovery to another block * Fixed comment in EitherT tests
- Loading branch information
1 parent
8571489
commit ad17ffc
Showing
2 changed files
with
60 additions
and
7 deletions.
There are no files selected for viewing
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
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