Skip to content

Commit

Permalink
get rid of ActionT.return
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Zocca committed Jul 6, 2023
1 parent f993894 commit f02c75e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Web/Scotty/Internal/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ newtype ActionT e m a = ActionT { runAM :: ExceptT (ActionError e) (ReaderT Acti
deriving ( Functor, Applicative, MonadIO )

instance (Monad m, ScottyError e) => Monad.Monad (ActionT e m) where
return = ActionT . return
ActionT m >>= k = ActionT (m >>= runAM . k)
#if !(MIN_VERSION_base(4,13,0))
fail = Fail.fail
Expand Down

0 comments on commit f02c75e

Please sign in to comment.