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 # | |
Semiring Unsigned Source # | |
Defined in Data.Dioid.Signed | |
Max Unsigned Source # | |
Defined in Data.Dioid.Signed | |
Min Unsigned Source # | |
Defined in Data.Dioid.Signed | |
Prd Unsigned Source # | |
Lattice Unsigned Source # | |
Quantale Unsigned Source # | |