| Copyright | (c) Roman Leshchinskiy 2008, (c) Bryan O'Sullivan 2009 |
|---|---|
| License | BSD-style |
| Maintainer | bos@serpentine.com |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell98 |
Data.Text.Internal.Fusion.Size
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.
Documentation
unknownSize :: Size
upperBound :: Int -> Size -> Int
Compute the maximum size from a size hint, if possible.