uni-posixutil 2.2.1.0 → 2.2.1.1
raw patch · 3 files changed
+7/−9 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Posixutil.ProcessClasses: class Tool t => CommandTool t
+ Posixutil.ProcessClasses: class Tool t => CommandTool t where execCmd cmd t = do { _ <- evalCmd cmd t; return () }
Files
- Posixutil/ChildProcess.hs +4/−5
- Posixutil/CopyFile.hs +2/−2
- uni-posixutil.cabal +1/−2
Posixutil/ChildProcess.hs view
@@ -52,7 +52,6 @@ where import System.IO-import System.IO.Error as IO import Foreign.C.String import System.Exit@@ -268,12 +267,12 @@ do sendMsg childProcess challenge responseLineOrError- <- IO.try (mapM (const (hGetChar processOut))+ <- Exception.try (mapM (const (hGetChar processOut)) [1..length response]) case responseLineOrError of- Left excep -> error (- "Starting " ++ toolTitle ++ " got IO error "- ++ show excep)+ Left excep -> error+ $ "Starting " ++ toolTitle ++ " got IO error "+ ++ show (excep :: Exception.IOException) Right line -> if line == response then done
Posixutil/CopyFile.hs view
@@ -19,7 +19,7 @@ import qualified System.IO.Error as IOErr import Foreign.C-import Control.Exception+import Control.Exception as Exception import qualified System.Directory as Dir import Util.Computation@@ -43,7 +43,7 @@ then return (hasValue ()) else- IOErr.catch (do+ Exception.catch (do Dir.copyFile source destination return(hasValue())) (\ioErr ->
uni-posixutil.cabal view
@@ -1,5 +1,5 @@ name: uni-posixutil-version: 2.2.1.0+version: 2.2.1.1 build-type: Simple license: LGPL license-file: LICENSE@@ -10,7 +10,6 @@ synopsis: Posix utilities for the uniform workbench description: posix utilities cabal-version: >= 1.4-tested-with: GHC==6.10.4, GHC==6.12.3 library exposed-modules: