| Copyright | (c) Roman Leshchinskiy 2008-2010 | 
|---|---|
| License | BSD-style | 
| Maintainer | Roman Leshchinskiy <rl@cse.unsw.edu.au> | 
| Stability | experimental | 
| Portability | portable | 
| Safe Haskell | Safe | 
| Language | Haskell2010 | 
Data.Vector.Fusion.Bundle.Size
Description
Size hints for streams.
Documentation
Size hint
clampedSubtract :: Size -> Size -> Size #
Subtract two sizes with clamping to 0, for drop-like things
upperBound :: Size -> Maybe Int #
Compute the maximum size from a size hint if possible
lowerBound :: Size -> Int #
Compute the minimum size from a size hint