text-0.11.2.0: An efficient packed Unicode text type.

PortabilityGHC
Stabilityexperimental
Maintainerbos@serpentine.com, rtomharper@googlemail.com, duncan@haskell.org
Safe HaskellSafe-Infered

Data.Text.Fusion.Internal

Description

Core stream fusion functionality for text.

Synopsis

Documentation

data CC s Source

Specialised tuple for case conversion.

Constructors

CC !s !Char !Char 

data M a Source

Specialised, strict Maybe-like type.

Constructors

N 
J !a 

data PairS a b Source

Constructors

!a :*: !b 

data RS s Source

Constructors

RS0 !s 
RS1 !s !Word8 
RS2 !s !Word8 !Word8 
RS3 !s !Word8 !Word8 !Word8 

data Step s a Source

Constructors

Done 
Skip !s 
Yield !a !s 

data Stream a Source

Constructors

forall s . Stream (s -> Step s a) !s !Size 

Instances

Eq a => Eq (Stream a) 
Ord a => Ord (Stream a) 

data Switch Source

Allow a function over a stream to switch between two states.

Constructors

S1 
S2 

empty :: Stream aSource

The empty stream.