text-0.11.2.0: An efficient packed Unicode text type.

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

Data.Text.Fusion.Size

Description

Size hints.

Synopsis

Documentation

data Size Source

Instances

smaller :: Size -> Size -> SizeSource

Minimum of two size hints.

larger :: Size -> Size -> SizeSource

Maximum of two size hints.

upperBound :: Int -> Size -> IntSource

Compute the maximum size from a size hint, if possible.