scotty > Noncanonical ‘return’ definition detected
scotty > in the instance declaration for ‘Monad (ActionT e m)’.
scotty > ‘return’ will eventually be removed in favour of ‘pure’
scotty > Either remove definition for ‘return’ (recommended) or define as ‘return = pure’
scotty > See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
scotty > |
scotty > 167 | return = ActionT . return