jsaddle-0.9.5.0: Interface for JavaScript that works with GHCJS and GHC

Copyright(c) Tom Harper 2008-2009
(c) Bryan O'Sullivan 2009
(c) Duncan Coutts 2009
(c) Jasper Van der Jeugt 2011
LicenseBSD-style
Maintainerbos@serpentine.com
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

Data.JSString.Internal.Fusion.Types

Description

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.

Synopsis

Documentation

data CC s #

Specialised tuple for case conversion.

Constructors

CC !s !Char !Char 

data PairS a b #

Strict pair.

Constructors

!a :*: !b infixl 2 

data RS s #

Restreaming state.

Constructors

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

data Step s a #

Intermediate result in a processing pipeline.

Constructors

Done 
Skip !s 
Yield !a !s 

data Stream a where #

Constructors

Stream :: Stream a 
Instances
Eq a => Eq (Stream a) 
Instance details

Defined in Data.Text.Internal.Fusion.Types

Methods

(==) :: Stream a -> Stream a -> Bool #

(/=) :: Stream a -> Stream a -> Bool #

Ord a => Ord (Stream a) 
Instance details

Defined in Data.Text.Internal.Fusion.Types

Methods

compare :: Stream a -> Stream a -> Ordering #

(<) :: Stream a -> Stream a -> Bool #

(<=) :: Stream a -> Stream a -> Bool #

(>) :: Stream a -> Stream a -> Bool #

(>=) :: Stream a -> Stream a -> Bool #

max :: Stream a -> Stream a -> Stream a #

min :: Stream a -> Stream a -> Stream a #

empty :: Stream a #

The empty stream.