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