Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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
:: IO r | Acquire resource |
-> (r -> IO ()) | Release resource |
-> (r -> String -> ByteString -> IO (ExitCode, ByteString, ByteString)) | |
-> Options | |
-> Handsy a | |
-> IO a |
:: (FilePath -> ByteString -> IO (ExitCode, ByteString, ByteString)) |
|
-> Options | |
-> Handsy a | |
-> IO a |
shell :: forall m. MonadFree HandsyF m => FilePath -> ByteString -> m (ExitCode, ByteString, ByteString) Source