hgeometry-0.5.0.0: Geometric Algorithms, Data structures, and Data types.

Safe HaskellNone
LanguageHaskell2010

Data.UnBounded

Synopsis

Documentation

data Top a Source

`Top a` represents the type a, together with a Top element, i.e. an element that is greater than any other element. We can think of `Top a` being defined as:

>>> data Top a = ValT a | Top

pattern ValT :: t -> Top t Source

pattern Top :: Top t Source

data Bottom a Source

`Bottom a` represents the type a, together with a Bottom element, i.e. an element that is smaller than any other element. We can think of `Bottom a` being defined as:

>>> data Bottom a = ValB

pattern Bottom :: Bottom t Source

pattern ValB :: t -> Bottom t Source

data UnBounded a Source

`UnBounded a` represents the type a, together with an element MaxInfinity larger than any other element, and an element MinInfinity, smaller than any other element.

Constructors

MinInfinity 
Val 

Fields

_unUnBounded :: a
 
MaxInfinity 

unUnBounded :: forall a a. Traversal (UnBounded a) (UnBounded a) a a Source