Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- shdat :: ArgsParser ([Word], [IOStream], [IOStream])
- tmpx :: ArgsParser ([Word], [IOStream], [IOStream], [(Var, Val)], [ByteString], [(Bool, Bool)], [Bool], [ByteSource])
- blockSize :: ArgsParser Word
- outputFile :: ArgsParser IOStream
- ioStream :: ArgsParser IOStream
- qPath :: ArgsParser ByteString
- shared :: ArgsParser Bool
- tmpdir :: ArgsParser ByteString
- rm :: ArgsParser (Bool, Bool)
- env :: ArgsParser (Var, Val)
- scriptToRun :: ArgsParser ByteSource
- cmd :: ByteString -> ArgsParser ByteSource
- data IOStream
- = STDIO
- | Path !ByteString
- data ByteSource
- type ArgsParser = Parsec [ByteString] ()
- satisfy :: (ByteString -> Bool) -> ArgsParser ByteString
- anyArg :: ArgsParser ByteString
- arg :: ByteString -> ArgsParser ByteString
- argPrim :: (ByteString -> Maybe t) -> ArgsParser t
- (<@>) :: Parser t -> ArgsParser ByteString -> ArgsParser t
- tokCL :: Class -> ArgsParser ByteString
- slashes :: ArgsParser (Maybe ByteString)
Documentation
tmpx :: ArgsParser ([Word], [IOStream], [IOStream], [(Var, Val)], [ByteString], [(Bool, Bool)], [Bool], [ByteSource]) Source #
shared :: ArgsParser Bool Source #
cmd :: ByteString -> ArgsParser ByteSource Source #
A byte-oriented store that can be read from or written to in a streaming fashion.
data ByteSource Source #
A source of bytes (no writing, only reading).
Instances
Eq ByteSource Source # | |
Defined in System.Posix.ARX.CLI.Options (==) :: ByteSource -> ByteSource -> Bool # (/=) :: ByteSource -> ByteSource -> Bool # | |
Ord ByteSource Source # | |
Defined in System.Posix.ARX.CLI.Options compare :: ByteSource -> ByteSource -> Ordering # (<) :: ByteSource -> ByteSource -> Bool # (<=) :: ByteSource -> ByteSource -> Bool # (>) :: ByteSource -> ByteSource -> Bool # (>=) :: ByteSource -> ByteSource -> Bool # max :: ByteSource -> ByteSource -> ByteSource # min :: ByteSource -> ByteSource -> ByteSource # | |
Show ByteSource Source # | |
Defined in System.Posix.ARX.CLI.Options showsPrec :: Int -> ByteSource -> ShowS # show :: ByteSource -> String # showList :: [ByteSource] -> ShowS # |
type ArgsParser = Parsec [ByteString] () Source #
satisfy :: (ByteString -> Bool) -> ArgsParser ByteString Source #
arg :: ByteString -> ArgsParser ByteString Source #
argPrim :: (ByteString -> Maybe t) -> ArgsParser t Source #
(<@>) :: Parser t -> ArgsParser ByteString -> ArgsParser t infixl 4 Source #
tokCL :: Class -> ArgsParser ByteString Source #
slashes :: ArgsParser (Maybe ByteString) Source #