Skip to content

Commit

Permalink
Merge pull request #68 from augustjune/additional-monad-transformers
Browse files Browse the repository at this point in the history
Add doc section about other monad tranformers
  • Loading branch information
juanpedromoreno committed May 23, 2020
2 parents 5b1b144 + fb61672 commit 476d475
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/scala/catslib/Monad.scala
Expand Up @@ -149,4 +149,11 @@ object MonadSection extends AnyFlatSpec with Matchers with org.scalaexercises.de

optionTMonad[List].pure(42) should be(OptionT(res0))
}
/** There are also instances for other monads available for user in Cats library:
* 'EitherT' for 'Either'
* 'ReaderT' for 'Reader'
* 'WriterT' for 'Writer'
* 'StateT' for 'State'
* 'IdT' for 'Id'
*/
}

0 comments on commit 476d475

Please sign in to comment.