Back to directory
atnos-org avatar

eff

Eff monad for cats - https://atnos-org.github.io/eff. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/atnos-org/eff.git

587

Stars

80

Forks

17

Watchers

MIT

License

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 3. eff core is available for the JVM, ScalaJS and scala-native. Sbt dependency:

// check maven badge above for latest version
libraryDependencies += "org.atnos" %% "eff" % "8.1.0"

// for Scala 3.3.x
scalacOptions += "-Ykind-projector"

// for latest Scala 3
scalacOptions += "-Xkind-projector"

for Scala 2.x

libraryDependencies += "org.atnos" %% "eff" % "7.0.6"

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.

Releases

Aug 24, 2026

Download .zip

-Yfuture-lazy-vals Update Pandoc version to 3.10.2 Scala 3.9.0-RC6 Update monix-eval to 3.5.0 Update sbt-pgp to 2.3.2 Update sbt to 2.0.7 Bump sbt/setup-sbt from 1.5.6 to 1.5.7 Bump JamesIves/github-p...

Apr 27, 2025

eff v8.0.0

Download .zip

Update sbt-scalajs, scalajs-library_2.13, ... to 1.19.0 Update cats-effect to 3.6.1 update scalacOptions

Mar 24, 2025

eff v8.0.0-RC1

Download .zip

eff 8

drop Scala 2 drop twitter module drop batch module drop Scala 2 macro annotation module use given, using and extension instead of implicit remove deprecated methods

Update cats-effect to 3.6....

Mar 16, 2025

eff v7.0.6

Download .zip

remove unused imports remove unused self type avoid wildcard import remove unused type param Update try-eff.sh avoid infix type avoid infix type remove unused imports add scalafix. update scalafmt con...

Nov 2, 2024

eff v7.0.5

Download .zip

add lift method for Scala 3 Update sbt, scripted-plugin to 1.10.4 Update cats-effect to 3.5.5 Update specs2-html, specs2-junit, ... to 4.20.9 add WebAssembly test Update sbt-git to 2.1.0 Update sbt-pg...