data Size
A size in UTF-8 code units (which is bytes).
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.
data SizeA size in UTF-8 code units (which is bytes).
exactSize :: Int -> SizemaxSize :: Int -> SizebetweenSize :: Int -> Int -> SizeunknownSize :: SizeunionSize :: Size -> Size -> SizecharSize :: Char -> SizeThe Size of the given code point.
codePointsSize :: Int -> SizeThe Size of n code points.
exactly :: Size -> Maybe Intsmaller :: Size -> Size -> SizeMinimum of two size hints.
larger :: Size -> Size -> SizeMaximum of two size hints.
upperBound :: Int -> Size -> IntCompute the maximum size from a size hint, if possible.
lowerBound :: Int -> Size -> IntCompute the minimum size from a size hint, if possible.
compareSize :: Size -> Size -> Maybe OrderingDetermine the ordering relationship between two Sizes, or Nothing in
the indeterminate case.
isEmpty :: Size -> Boolinstance Eq Sizeinstance Show Sizeinstance Num SizeCommunity contribution. The service has not verified this documentation. The generator reported 2 diagnostics.
Target: Linux on x86-64. Some inferred types and resolved links are not available.
Generator: aihc-haddock-858b1951-web-1
Metadata snapshot: 0b0724abd14577f7a6c8172d62e3e1c0808feb114d4d379402e17f37e3c7801e
Open the dependency plan · Download the documentation model