shelly 1.5.3 → 1.5.3.1
raw patch · 3 files changed
+5/−2 lines, 3 filesdep ~exceptions
Dependency ranges changed: exceptions
Files
- shelly.cabal +2/−2
- src/Shelly/Base.hs +2/−0
- src/Shelly/Lifted.hs +1/−0
shelly.cabal view
@@ -1,6 +1,6 @@ Name: shelly -Version: 1.5.3+Version: 1.5.3.1 Synopsis: shell-like (systems) programming in Haskell Description: Shelly provides convenient systems programming in Haskell,@@ -49,7 +49,7 @@ monad-control >= 0.3.2 && < 0.4, lifted-base, lifted-async,- exceptions >= 0.4,+ exceptions == 0.6.*, enclosed-exceptions, text, bytestring, async, transformers, transformers-base
src/Shelly/Base.hs view
@@ -81,6 +81,8 @@ instance Catch.MonadCatch Sh where catch (Sh (ReaderT m)) c = Sh $ ReaderT $ \r -> m r `Catch.catch` \e -> runSh (c e) r++instance Catch.MonadMask Sh where mask a = Sh $ ReaderT $ \e -> Catch.mask $ \u -> runSh (a $ q u) e where q u (Sh (ReaderT b)) = Sh (ReaderT (u . b)) uninterruptibleMask a =
src/Shelly/Lifted.hs view
@@ -2,6 +2,7 @@ FlexibleInstances, FlexibleContexts, IncoherentInstances, TypeFamilies, ExistentialQuantification, RankNTypes, ImpredicativeTypes #-}+{-# OPTIONS_GHC -fno-warn-orphans #-} -- | A module for shell-like programming in Haskell. -- Shelly's focus is entirely on ease of use for those coming from shell scripting.