packages feed

process-extras 0.3.3.7 → 0.3.3.8

raw patch · 3 files changed

+13/−12 lines, 3 filesdep +generic-deriving

Dependencies added: generic-deriving

Files

README.md view
@@ -2,6 +2,10 @@  Extra functionality for the [Process library](http://hackage.haskell.org/package/process). + * Read process input and output as ByteStrings or Text, or write your own ProcessOutput instance.+ * Lazy process input and output.+ * ProcessMaker class for more flexibility in the process creation API.+ # Contributing  This project is available on [GitHub](https://github.com/seereason/process-extras). You may contribute changes there.
process-extras.cabal view
@@ -1,8 +1,11 @@ Name:               process-extras-Version:            0.3.3.7+Version:            0.3.3.8 Synopsis:           Process extras-Description:        Extra functionality for the Process library-                    <http://hackage.haskell.org/package/process>.+Description:        Extends <http://hackage.haskell.org/package/process>.+                    Read process input and output as ByteStrings or+                    Text, or write your own ProcessOutput instance.+                    Lazy process input and output.  ProcessMaker class+                    for more flexibility in the process creation API. Homepage:           https://github.com/seereason/process-extras License:            MIT License-file:       LICENSE@@ -41,4 +44,5 @@     process,     bytestring,     text,-    deepseq >= 1.1+    deepseq >= 1.1,+    generic-deriving >= 1.10
src/System/Process/Common.hs view
@@ -1,11 +1,9 @@ {-# LANGUAGE CPP #-}-{-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE FunctionalDependencies #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE ScopedTypeVariables #-}-{-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE UndecidableInstances #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module System.Process.Common@@ -25,6 +23,7 @@ import Data.ListLike (null) import Data.ListLike.IO (ListLikeIO, hGetContents, hPutStr) import Data.Monoid ((<>))+import Generics.Deriving.Instances () import GHC.IO.Exception (IOErrorType(ResourceVanished), IOException(ioe_type)) import Prelude hiding (null) import System.Exit (ExitCode(..))@@ -36,12 +35,6 @@ #if __GLASGOW_HASKELL__ <= 709 import Control.Applicative (pure, (<$>), (<*>)) import Data.Monoid (Monoid(mempty, mappend))-#else-import GHC.Generics--#if __GLASGOW_HASKELL__ <= 710-deriving instance Generic ExitCode-#endif #endif  #if !MIN_VERSION_deepseq(1,4,2)