| Copyright | (c) Roman Leshchinskiy 2008 (c) Bryan O'Sullivan 2009  | 
|---|---|
| License | BSD-style | 
| Maintainer | [email protected] | 
| Stability | experimental | 
| Portability | portable | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Data.Text.Internal.Fusion.Size
Contents
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!
Size hints.
Synopsis
- data Size
 - exactSize :: Int -> Size
 - maxSize :: Int -> Size
 - betweenSize :: Int -> Int -> Size
 - unknownSize :: Size
 - unionSize :: Size -> Size -> Size
 - charSize :: Char -> Size
 - codePointsSize :: Int -> Size
 - exactly :: Size -> Maybe Int
 - smaller :: Size -> Size -> Size
 - larger :: Size -> Size -> Size
 - upperBound :: Int -> Size -> Int
 - lowerBound :: Int -> Size -> Int
 - compareSize :: Size -> Size -> Maybe Ordering
 - isEmpty :: Size -> Bool