Skip to content

Commit

Permalink
Merge pull request #295 from ocramz/master
Browse files Browse the repository at this point in the history
get rid of ActionT.return
  • Loading branch information
fumieval authored Aug 28, 2023
2 parents 2e0302f + f02c75e commit efa1ef8
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 efa1ef8

Please sign in to comment.