foundation-0.0.8: Alternative prelude with batteries and no dependencies
Foundation.Conduit.Textual
Synopsis
lines :: Monad m => Conduit String String m () Source #
Split conduit of string to its lines
This is very similar to Prelude lines except it work directly on Conduit
Note that if the newline character is not coming, this function will keep accumulating data until OOM
fromBytes :: MonadThrow m => Encoding -> Conduit (UArray Word8) String m () Source #
toBytes :: Monad m => Encoding -> Conduit String (UArray Word8) m () Source #