O(n) Convert a Text into a 'Stream Char'.
Moduletext-2.1.3Haskell2010
Data.Text.Internal.Lazy.Fusion
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.
- 8 values
- Packagetext-2.1.3
- Exports8
- LanguageHaskell2010
- LicenceBSD-2-Clause
- SourceFusion.hs
O(n) Convert a 'Stream Char' into a Text, using defaultChunkSize.
O(n) Convert a 'Stream Char' into a Text, using the given chunk size.
O(n) Returns the number of characters in a text.
O(n) stream index (subscript) operator, starting from 0.
O(n) The count function returns the number of times the query
element appears in the given stream.