| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
System.Handsy.Internal
- type Handsy = FreeT HandsyF IO
- interpret :: IO r -> (r -> IO ()) -> (r -> String -> ByteString -> IO (ExitCode, ByteString, ByteString)) -> Options -> Handsy a -> IO a
- interpretSimple :: (FilePath -> ByteString -> IO (ExitCode, ByteString, ByteString)) -> Options -> Handsy a -> IO a
- shell :: forall m. MonadFree HandsyF m => FilePath -> ByteString -> m (ExitCode, ByteString, ByteString)
- data Options = Options {}
Documentation
Arguments
| :: IO r | Acquire resource |
| -> (r -> IO ()) | Release resource |
| -> (r -> String -> ByteString -> IO (ExitCode, ByteString, ByteString)) | |
| -> Options | |
| -> Handsy a | |
| -> IO a |
Arguments
| :: (FilePath -> ByteString -> IO (ExitCode, ByteString, ByteString)) |
|
| -> Options | |
| -> Handsy a | |
| -> IO a |
shell :: forall m. MonadFree HandsyF m => FilePath -> ByteString -> m (ExitCode, ByteString, ByteString) Source