Extensible effects are an alternative to monad transformers for computing with effects in a functional way. This library is based on the "free-er" monad and an "open union" of effects described in Oleg Kiselyov in Freer monads, more extensible effects.
You can learn more in the User Guide:
- your first effects
- included effects:
Reader
,Writer
,Eval
,State
,... - using an open or a closed union of effects
- create your own effects
- working with different effect stacks
You add eff-cats
as an sbt dependency:
libraryDependencies += "org.atnos" %% "eff-cats" % "1.3"
or download it from here.
eff-cats is a Typelevel project. This means we embrace pure, typeful, functional programming, and provide a safe and friendly environment for teaching, learning, and contributing as described in the Typelevel Code of Conduct.
Feel free to open an issue if you notice a bug, have an idea for a feature, or have a question about the code. Pull requests are also gladly accepted.