You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-haskell/shelly/files/shelly-1.6.5-ghc-8.patch

17 lines
700 B

diff --git a/src/Shelly/Lifted.hs b/src/Shelly/Lifted.hs
index 825201d..cdca61b 100644
--- a/src/Shelly/Lifted.hs
+++ b/src/Shelly/Lifted.hs
@@ -2,4 +2,4 @@
FlexibleInstances, FlexibleContexts, IncoherentInstances,
- TypeFamilies, ExistentialQuantification, RankNTypes,
- ImpredicativeTypes #-}
+ TypeFamilies, ExistentialQuantification, RankNTypes
+ #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
@@ -299,3 +299,3 @@ instance (MonadShControl m, Monoid w)
controlSh :: MonadShControl m => ((forall x. m x -> Sh (ShM m x)) -> Sh (ShM m a)) -> m a
-controlSh = liftShWith >=> restoreSh
+controlSh r = liftShWith r >>= restoreSh
{-# INLINE controlSh #-}