No Consumers, no Pipesdo not know about the end of the entrance. For this you need Parserfrom pipes-parse.
Consumer s, Parser Producer s; draw ( await) Nothing, .
import qualified Pipes.Parse as P
stdoutCharParser :: P.Parser Char IO ()
stdoutCharParser = P.draw >>= \ma ->
case ma of
Nothing -> liftIO (putStrLn "\n")
Just c -> liftIO (putChar c) >> stdoutCharParser
, evalStateT runEffect:
P.evalStateT stdoutCharParser (interleave characters digits)
mixin mixin', , . , Pipe , , Producer, .