shell-conduit-4.6.1: Write shell scripts with Conduit

Safe HaskellNone
LanguageHaskell98

Data.Conduit.Shell.Variadic

Description

Variadic process calling.

Synopsis

Documentation

class ProcessType t where #

Process return type.

Minimal complete definition

spr

Methods

spr :: String -> [Text] -> t #

Instances

(~) * r () => ProcessType (Segment r) # 

Methods

spr :: String -> [Text] -> Segment r #

(ProcessType r, CmdArg a) => ProcessType (a -> r) #

Accept strings as arguments.

Methods

spr :: String -> [Text] -> a -> r #

variadicProcess :: ProcessType r => String -> r #

A variadic process maker.

class CmdArg a where #

Command line argument.

Minimal complete definition

toTextArg

Methods

toTextArg :: a -> [Text] #

Instances

CmdArg ByteString # 

Methods

toTextArg :: ByteString -> [Text] #

CmdArg ByteString # 

Methods

toTextArg :: ByteString -> [Text] #

CmdArg Text # 

Methods

toTextArg :: Text -> [Text] #

CmdArg Text # 

Methods

toTextArg :: Text -> [Text] #

CmdArg String # 

Methods

toTextArg :: String -> [Text] #

CmdArg [ByteString] # 

Methods

toTextArg :: [ByteString] -> [Text] #

CmdArg [ByteString] # 

Methods

toTextArg :: [ByteString] -> [Text] #

CmdArg [Text] # 

Methods

toTextArg :: [Text] -> [Text] #

CmdArg [Text] # 

Methods

toTextArg :: [Text] -> [Text] #

CmdArg [String] # 

Methods

toTextArg :: [String] -> [Text] #