Which is exactly as it should be: streaming
functions should be part of streaming libraries, not a text library.

_______________________________________________


Note however that a stream of strict texts is like a generalized Data.Text.Lazy.Text in which you can have effects when producing each chunk, and there's also a result value at the end that is useful for things like dividing the stream. Text-specific functions that worked on such streams (say, divide the stream at a given Char) would belong in a text library, I think.

The package streaming-bytestring does something similar for lazy bytestrings.