hw-streams-0.0.1.1: Primitive functions and data types
Safe HaskellSafe-Inferred
LanguageHaskell2010

HaskellWorks.Data.Streams.Size

Synopsis

Documentation

data Size #

Size hint

Constructors

Exact !Int

Exact size

Max !Int

Upper bound on the size

Unknown

Unknown size

Instances

Instances details
Num Size 
Instance details

Defined in Data.Vector.Fusion.Bundle.Size

Methods

(+) :: Size -> Size -> Size #

(-) :: Size -> Size -> Size #

(*) :: Size -> Size -> Size #

negate :: Size -> Size #

abs :: Size -> Size #

signum :: Size -> Size #

fromInteger :: Integer -> Size #

Show Size 
Instance details

Defined in Data.Vector.Fusion.Bundle.Size

Methods

showsPrec :: Int -> Size -> ShowS #

show :: Size -> String #

showList :: [Size] -> ShowS #

Eq Size 
Instance details

Defined in Data.Vector.Fusion.Bundle.Size

Methods

(==) :: Size -> Size -> Bool #

(/=) :: Size -> Size -> Bool #

smaller :: Size -> Size -> Size #

Minimum of two size hints

larger :: Size -> Size -> Size #

Maximum of two size hints