| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
System.Handsy.Core
- 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
Arguments
| :: IO r | Acquire resource |
| -> (r -> IO ()) | Release resource |
| -> (r -> String -> [String] -> ByteString -> IO (ExitCode, ByteString, ByteString)) |
|
| -> Options | |
| -> Handsy a | |
| -> IO a |
Arguments
| :: (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