scotty-web / scotty

Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository)
http://hackage.haskell.org/package/scotty
BSD 3-Clause "New" or "Revised" License
1.72k stars 134 forks source link

Compatibility with mtl-2.3 #283

Closed sjakobi closed 2 years ago

sjakobi commented 2 years ago

This will apparently require code changes:

Building library for scotty-0.12..
[1 of 6] Compiling Web.Scotty.Internal.Types ( Web/Scotty/Internal/Types.hs, dist/build/Web/Scotty/Internal/Types.o, dist/build/Web/Scotty/Internal/Types.dyn_o )

Web/Scotty/Internal/Types.hs:160:38: error:
    Not in scope: type constructor or class ‘MonadPlus’
    |
160 | instance (Monad m, ScottyError e) => MonadPlus (ActionT e m) where
    |                                      ^^^^^^^^^
RyanGlScott commented 2 years ago

Good catch. Now that haskell-tls/hs-certificate#129 is resolved, I've noticed this issue as well. I've submitted #284 with a fix.