snapframework / snap

Top-level package for the official Snap Framework libraries, includes the snaplets API as well as infrastructure for sessions, auth, and templates.
http://snapframework.com/
BSD 3-Clause "New" or "Revised" License
455 stars 68 forks source link

Compatibility with `mtl ^>= 2.3.1` #223

Closed sjakobi closed 1 year ago

sjakobi commented 1 year ago

https://hackage.haskell.org/package/mtl-2.3.1/changelog

This will apparently require code changes:

src/Snap/Snaplet/Internal/Types.hs:24:62: error:
    Module ‘Control.Monad.Reader’ does not export ‘MonadPlus’
   |
24 | import           Control.Monad.Reader         (MonadIO (..), MonadPlus, MonadReader (ask, local))
   |                                                              ^^^^^^^^^
andreasabel commented 1 year ago

Me too. Seems like there is a PR on the way:

andreasabel commented 1 year ago

This issue is fixed in 1.1.3.2 and can be closed.