stdinF :: F b String stdoutF :: F String a stdioF :: F String String stderrF :: F String a outputF :: String -> F String a appendChanK :: FudgetIO f => String -> String -> f b ho -> f b ho echoK :: FudgetIO f => String -> f b ho -> f b ho linesSP :: SP Char String inputLinesSP :: SP String String
stdinF reads characters from standard input and delivers them on its
output as soon as they become available. It outputs a stream of strings
rather than a stream of characters for efficiency reasons. An empty string
in the output indicate the end of the stream.
outputF outputs the strings it receives on its input on a channel.
stderrF output to the standard output and standard
error channels, respectively.
stdioF is a combination of
appendChanK provides convienient access to the
echoK outputs a string and a new line character on stdout.
linesSP inputs a stream of characters (including newline characters)
and outputs a stream of lines.
inputLinesSP inputs arbitrary chunks of characters and outputs lines.
This is a useful postprocessor for
stdoutF = outputF stdout stderrF = outputF stderr inputLinesSP = linesSP `serCompSP` concatSP