eff

by atnos-org

atnos-org / eff

Eff monad for cats - https://atnos-org.github.io/eff

455 Stars 71 Forks Last release: about 2 months ago (v5.11.0) MIT License 622 Commits 58 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

eff

Build Status Join the chat at https://gitter.im/atnos-org/eff Maven Central

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 extensible effects described in Oleg Kiselyov in Freer monads, more extensible effects.

You can learn more in the User Guide:

You can also check out this presentation at flatMap Oslo 2016 (slides).

Installation

Eff is published for Scala 2.12 and 2.13.

eff
core is available for the JVM and ScalaJS. Sbt dependency:
// check maven badge above for latest version
libraryDependencies += "org.atnos" %% "eff" % "5.11.0"

// to write types like Reader[String, ?] addCompilerPlugin("org.typelevel" %% "kind-projector" % "0.11.0" cross CrossVersion.full)

// to get types like Reader[String, ?] (with more than one type parameter) correctly inferred for scala 2.12.x scalacOptions += "-Ypartial-unification"

Contributing

eff 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 Scala 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.

Extensions

Modules in this repository

External

  • eff-zio eff extension for ZIO effects.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.