Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
Sign
is isomorphic to 'Maybe Ordering' and (Bool,Bool), but has a distinct poset ordering:
and
Indeterminate
>= Positive
>= Zero
Indeterminate
>= Negative
>= Zero
Note that Positive
and Negative
are not comparable.
Positive
can be regarded as representing (0, +∞],Negative
as representing [−∞, 0),Indeterminate
as representing [−∞, +∞] v NaN, andZero
as representing the set {0}.
Instances
Eq Unsigned Source # | |
Show Unsigned Source # | |
Semigroup Unsigned Source # | |
Monoid Unsigned Source # | |
Lattice Unsigned Source # | |
Prd Unsigned Source # | |
Min Unsigned Source # | |
Defined in Data.Dioid.Signed | |
Max Unsigned Source # | |
Defined in Data.Dioid.Signed | |
Quantale Unsigned Source # | |
Semiring Unsigned Source # | |