summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/Unify.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Core/Unify.hs')
-rw-r--r--compiler/GHC/Core/Unify.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC/Core/Unify.hs b/compiler/GHC/Core/Unify.hs
index fdf4d05068..bd54ecee39 100644
--- a/compiler/GHC/Core/Unify.hs
+++ b/compiler/GHC/Core/Unify.hs
@@ -1393,6 +1393,8 @@ instance Applicative UM where
(<*>) = ap
instance Monad UM where
+ {-# INLINE (>>=) #-}
+ -- See Note [INLINE pragmas and (>>)] in GHC.Utils.Monad
m >>= k = UM (\state ->
do { (state', v) <- unUM m state
; unUM (k v) state' })