Portability | GHC |
---|---|
Stability | experimental |
Maintainer | bos@serpentine.com |
Safe Haskell | None |
Warning: this is an internal module, and does not have a stable API or name. Functions in this module may not check or enforce preconditions expected by public modules. Use at your own risk!
Core stream fusion functionality for text.
Documentation
unstream :: Stream Char -> TextSource
O(n) Convert a 'Stream Char' into a Text
, using
defaultChunkSize
.
unstreamChunks :: Int -> Stream Char -> TextSource
O(n) Convert a 'Stream Char' into a Text
, using the given
chunk size.