| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Relation.Binary.Comparison
Documentation
Instances
Instances
class (Monoid a, Abelian a, PartialOrd a) => Monus a where Source #
Instances
class (PartialOrd a, Eq a) => Ord a where Source #
Minimal complete definition
Nothing
Instances
| Ord Bool Source # | |
| Ord Char Source # | |
| Ord Int Source # | |
| Ord Int8 Source # | |
| Ord Int16 Source # | |
| Ord Int32 Source # | |
| Ord Int64 Source # | |
| Ord Integer Source # | |
| Ord Natural Source # | |
| Ord Ordering Source # | |
| Ord Word Source # | |
| Ord Word8 Source # | |
| Ord Word16 Source # | |
| Ord Word32 Source # | |
| Ord Word64 Source # | |
| Ord () Source # | |
Defined in Relation.Binary.Comparison | |
| Ord (Sum Natural) Source # | |
| Ord a => Ord (Down a) Source # | |
| Ord a => Ord (Lexical (Maybe a)) Source # | |
| (Ord a, Ord b) => Ord (Lexical (Either a b)) Source # | |
| (Ord a, Ord b) => Ord (Lexical (a, b)) Source # | |
| (Ord a, Ord b, Ord c) => Ord (Lexical (a, b, c)) Source # | |
class (Preord a, PartialEq a) => PartialOrd a where Source #
Minimal complete definition
Nothing
Methods
tryCompare :: a -> a -> Maybe Ordering Source #
Instances
class (Preord a, PartialEq a) => Eq a Source #
Instances
class PartialEq a where Source #
Instances
| PartialEq Bool Source # | |
| PartialEq Char Source # | |
| PartialEq Int Source # | |
| PartialEq Int8 Source # | |
| PartialEq Int16 Source # | |
| PartialEq Int32 Source # | |
| PartialEq Int64 Source # | |
| PartialEq Integer Source # | |
| PartialEq Natural Source # | |
| PartialEq Ordering Source # | |
| PartialEq Word Source # | |
| PartialEq Word8 Source # | |
| PartialEq Word16 Source # | |
| PartialEq Word32 Source # | |
| PartialEq Word64 Source # | |
| PartialEq () Source # | |
| PartialEq a => PartialEq [a] Source # | |
| PartialEq a => PartialEq (Maybe a) Source # | |
| PartialEq a => PartialEq (Ratio a) Source # | |
| PartialEq (Sum Natural) Source # | |
| PartialEq a => PartialEq (Down a) Source # | |
| Bits a => PartialEq (Min (BitSet a)) Source # | |
| Bits a => PartialEq (Max (BitSet a)) Source # | |
| PartialEq a => PartialEq (Lexical a) Source # | |
| Bits a => PartialEq (BitSet a) Source # | |
| (PartialEq a, PartialEq b) => PartialEq (Either a b) Source # | |
| (PartialEq a, PartialEq b) => PartialEq (a, b) Source # | |
| (PartialEq a, PartialEq b, PartialEq c) => PartialEq (a, b, c) Source # | |
Methods
(≤) :: a -> a -> Bool infix 4 Source #
(≥) :: a -> a -> Bool infix 4 Source #
Instances
Instances
| Bounded Ordering | Since: base-2.1 |
| Enum Ordering | Since: base-2.1 |
| Eq Ordering | |
| Ord Ordering | |
Defined in GHC.Classes | |
| Read Ordering | Since: base-2.1 |
| Show Ordering | Since: base-2.1 |
| Ix Ordering | Since: base-2.1 |
Defined in GHC.Arr | |
| Generic Ordering | |
| Semigroup Ordering | Since: base-4.9.0.0 |
| Monoid Ordering | Since: base-2.1 |
| Ord Ordering Source # | |
| PartialOrd Ordering Source # | |
Defined in Relation.Binary.Comparison | |
| Eq Ordering Source # | |
Defined in Relation.Binary.Comparison | |
| PartialEq Ordering Source # | |
| Preord Ordering Source # | |
| type Rep Ordering | Since: base-4.6.0.0 |