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 Source #

Process return type.

Minimal complete definition

spr

Methods

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

Instances

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

Methods

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

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

Accept strings as arguments.

Methods

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

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

A variadic process maker.

class CmdArg a where Source #

Command line argument.

Minimal complete definition

toTextArg

Methods

toTextArg :: a -> [Text] Source #