shh 0.7.0.3 → 0.7.0.4
raw patch · 3 files changed
+3/−2 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
+ Shh: failWithStdErr :: Shell io => Proc a -> io a
- Shh: runProc :: Shell f => Proc a -> f a
+ Shh: runProc :: (Shell f, HasCallStack) => Proc a -> f a
- Shh.Internal: runProc :: Shell f => Proc a -> f a
+ Shh.Internal: runProc :: (Shell f, HasCallStack) => Proc a -> f a
Files
- shh.cabal +1/−1
- src/Shh.hs +1/−0
- src/Shh/Internal.hs +1/−1
shh.cabal view
@@ -1,5 +1,5 @@ name: shh-version: 0.7.0.3+version: 0.7.0.4 synopsis: Simple shell scripting from Haskell description: Provides a shell scripting environment for Haskell. It helps you use external binaries, and allows you to
src/Shh.hs view
@@ -76,6 +76,7 @@ , Failure(..) , ignoreFailure , tryFailure+ , failWithStdErr , exitCode -- | == Constructing Arguments , Cmd
src/Shh/Internal.hs view
@@ -116,7 +116,7 @@ -- polymorphic in their return value. This makes using them in an `IO` context -- easier (we can avoid having to prepend everything with a `runProc`). class Shell f where- runProc :: Proc a -> f a+ runProc :: HasCallStack => Proc a -> f a -- | Helper function that creates and potentially executes a @`Proc`@ buildProc :: Shell f => (Handle -> Handle -> Handle -> IO a) -> f a