Skip to content

Releases: oleg-py/meow-mtl

Upgrade to cats-mtl 0.4.0; add more QOL improvements

13 Oct 12:10
Compare
Choose a tag to compare
// Use %%% for scala.js or cross projects
libraryDependencies += "com.olegpy" %% "meow-mtl" % "0.2.0"

Breaking change

In this release, MonadState => ApplicativeAsk and MonadState => FunctorTell derivations (from hierarchy) were removed. They cause implicit prioritization issues and are considered for removal (see typelevel/cats-mtl#31). The rest of the hierarchy is encoded using subtyping, so they continue to work.

New features

  • Effect instances now have added xxxInstance extension methods (e.g. stateInstance on Ref) which give you instance directly.
  • New mini-package, com.olegpy.meow.prelude, that adds implicits for getting e.g. Monad from MonadState. See the readme section