diff options
| -rw-r--r-- | libraries/base/GHC/Base.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/base/GHC/Base.hs b/libraries/base/GHC/Base.hs index 44085a2efa..7e04ab4f0e 100644 --- a/libraries/base/GHC/Base.hs +++ b/libraries/base/GHC/Base.hs @@ -468,6 +468,7 @@ class Applicative m => Monad m where -- | Inject a value into the monadic type. return :: a -> m a + return = pure -- | Fail with a message. This operation is not part of the -- mathematical definition of a monad, but is invoked on pattern-match |
