Safe Haskell | None |
---|---|
Language | Haskell98 |
Variadic process calling.
- class ProcessType t where
- variadicProcess :: ProcessType r => String -> r
- class CmdArg a where
Documentation
class ProcessType t where Source
Process return type.
(ProcessType r, CmdArg a) => ProcessType (a -> r) | Accept strings as arguments. |
(MonadResource m, (~) * c Chunk, (~) * c' Chunk, (~) * r ()) => ProcessType (ConduitM c c' m r) | The real type should be: ConduitM Chunk Chunk m () But with this more liberal instance head we catch all cases in the instance resolver, and then apply the equality restrictions later. |
variadicProcess :: ProcessType r => String -> r Source
A variadic process maker.