packages feed

coquina 0.2.0.0 → 0.2.0.1

raw patch · 2 files changed

+7/−3 lines, 2 filesdep ~basedep ~containersPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base, containers

API changes (from Hackage documentation)

- Coquina: Shell :: ExceptT Int (WriterT (Text, Text) m) a -> Shell m a
+ Coquina: Shell :: ExceptT Int (WriterT (Text, Text) m) a -> Shell (m :: Type -> Type) a
- Coquina: StreamingProcess :: !Shell m ExitCode -> !Shell m () -> !Shell m (Maybe ExitCode) -> StreamingProcess m
+ Coquina: StreamingProcess :: !Shell m ExitCode -> !Shell m () -> !Shell m (Maybe ExitCode) -> StreamingProcess (m :: Type -> Type)
- Coquina: [_streamingProcess_getProcessExitCode] :: StreamingProcess m -> !Shell m (Maybe ExitCode)
+ Coquina: [_streamingProcess_getProcessExitCode] :: StreamingProcess (m :: Type -> Type) -> !Shell m (Maybe ExitCode)
- Coquina: [_streamingProcess_terminateProcess] :: StreamingProcess m -> !Shell m ()
+ Coquina: [_streamingProcess_terminateProcess] :: StreamingProcess (m :: Type -> Type) -> !Shell m ()
- Coquina: [_streamingProcess_waitForProcess] :: StreamingProcess m -> !Shell m ExitCode
+ Coquina: [_streamingProcess_waitForProcess] :: StreamingProcess (m :: Type -> Type) -> !Shell m ExitCode
- Coquina: [unShell] :: Shell m a -> ExceptT Int (WriterT (Text, Text) m) a
+ Coquina: [unShell] :: Shell (m :: Type -> Type) a -> ExceptT Int (WriterT (Text, Text) m) a
- Coquina: class Monad m => MonadShell m
+ Coquina: class Monad m => MonadShell (m :: Type -> Type)
- Coquina: data StreamingProcess m
+ Coquina: data StreamingProcess (m :: Type -> Type)
- Coquina: hoistShell :: (forall x. m x -> n x) -> Shell m a -> Shell n a
+ Coquina: hoistShell :: (forall x. () => m x -> n x) -> Shell m a -> Shell n a
- Coquina: inTempDirectory :: MonadIO m => String -> (FilePath -> Shell IO a) -> Shell m a
+ Coquina: inTempDirectory :: forall (m :: Type -> Type) a. MonadIO m => String -> (FilePath -> Shell IO a) -> Shell m a
- Coquina: newtype Shell m a
+ Coquina: newtype Shell (m :: Type -> Type) a
- Coquina: run :: MonadIO m => CreateProcess -> Shell m ()
+ Coquina: run :: forall (m :: Type -> Type). MonadIO m => CreateProcess -> Shell m ()
- Coquina: shellCreateProcess :: MonadIO m => CreateProcess -> Shell m ()
+ Coquina: shellCreateProcess :: forall (m :: Type -> Type). MonadIO m => CreateProcess -> Shell m ()
- Coquina: shellCreateProcessWith :: MonadIO m => (CreateProcess -> IO (ExitCode, Text, Text)) -> CreateProcess -> Shell m ()
+ Coquina: shellCreateProcessWith :: forall (m :: Type -> Type). MonadIO m => (CreateProcess -> IO (ExitCode, Text, Text)) -> CreateProcess -> Shell m ()
- Coquina: shellCreateProcessWithEnv :: MonadIO m => Map String String -> CreateProcess -> Text -> Shell m ()
+ Coquina: shellCreateProcessWithEnv :: forall (m :: Type -> Type). MonadIO m => Map String String -> CreateProcess -> Text -> Shell m ()
- Coquina: shellCreateProcessWithStdOut :: MonadIO m => Handle -> CreateProcess -> Shell m ()
+ Coquina: shellCreateProcessWithStdOut :: forall (m :: Type -> Type). MonadIO m => Handle -> CreateProcess -> Shell m ()
- Coquina: shellStreamableProcess :: (MonadIO m, MonadMask m) => (ByteString -> IO ()) -> (ByteString -> IO ()) -> CreateProcess -> Shell m (StreamingProcess m)
+ Coquina: shellStreamableProcess :: forall (m :: Type -> Type). (MonadIO m, MonadMask m) => (ByteString -> IO ()) -> (ByteString -> IO ()) -> CreateProcess -> Shell m (StreamingProcess m)
- Coquina: shellStreamableProcessBuffered :: (MonadIO m, MonadMask m) => CreateProcess -> Shell m (StreamingProcess m, IO ByteString, IO ByteString)
+ Coquina: shellStreamableProcessBuffered :: forall (m :: Type -> Type). (MonadIO m, MonadMask m) => CreateProcess -> Shell m (StreamingProcess m, IO ByteString, IO ByteString)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for coquina +## 0.2.0.1++* Update dependency version bounds+ ## 0.2.0.0  * `shellCreateProcessWithEnv` now takes an additional argument for stdin
coquina.cabal view
@@ -1,6 +1,6 @@ cabal-version:      >=1.10 name:               coquina-version:            0.2.0.0+version:            0.2.0.1 synopsis:           Yet another shell monad. description:        A simple monad for shelling out from Haskell programs. bug-reports:        https://github.com/obsidiansystems/coquina/issues@@ -20,9 +20,9 @@   hs-source-dirs:   src   build-depends:       async        >=2.2.2  && <2.3-    , base         >=4.12.0 && <4.20+    , base         >=4.12.0 && <5     , bytestring   >=0.10.8 && <0.13-    , containers   >=0.6.0  && <0.8+    , containers   >=0.6.0  && <0.9     , deepseq      >=1.4.4  && <1.6     , directory    >=1.3.3  && <1.4     , exceptions   >=0.10.3 && <0.11