Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
ZkFold.Symbolic.Data.Ord
Documentation
class Monoid ordering => IsOrdering ordering where Source #
Instances
IsOrdering Ordering Source # | |
Symbolic c => IsOrdering (Ordering c) Source # | |
Instances
class (Eq a, IsOrdering (OrderingOf a)) => Ord a where Source #
Minimal complete definition
Nothing
Methods
ordering :: a -> a -> a -> OrderingOf a -> a Source #
default ordering :: (Generic a, GOrd (Rep a), OrderingOf a ~ GOrderingOf (Rep a)) => a -> a -> a -> OrderingOf a -> a Source #
compare :: a -> a -> OrderingOf a Source #
default compare :: (Generic a, GOrd (Rep a), OrderingOf a ~ GOrderingOf (Rep a)) => a -> a -> OrderingOf a Source #
(<) :: a -> a -> BooleanOf a infix 4 Source #
default (<) :: (Ord (BooleanOf a), OrderingOf (BooleanOf a) ~ OrderingOf a) => a -> a -> BooleanOf a Source #
(<=) :: a -> a -> BooleanOf a infix 4 Source #
default (<=) :: (Ord (BooleanOf a), OrderingOf (BooleanOf a) ~ OrderingOf a) => a -> a -> BooleanOf a Source #
(>) :: a -> a -> BooleanOf a infix 4 Source #
default (>) :: (Ord (BooleanOf a), OrderingOf (BooleanOf a) ~ OrderingOf a) => a -> a -> BooleanOf a Source #
(>=) :: a -> a -> BooleanOf a infix 4 Source #
default (>=) :: (Ord (BooleanOf a), OrderingOf (BooleanOf a) ~ OrderingOf a) => a -> a -> BooleanOf a Source #
Instances
class (GEq u, IsOrdering (GOrderingOf u)) => GOrd u where Source #
Associated Types
type GOrderingOf u Source #
Methods
gordering :: u x -> u x -> u x -> GOrderingOf u -> u x Source #
gcompare :: u x -> u x -> GOrderingOf u Source #
Instances
Ord x => GOrd (Rec0 x :: k -> Type) Source # | |
(GOrd u, GOrd v, GBooleanOf u ~ GBooleanOf v, GOrderingOf u ~ GOrderingOf v) => GOrd (u :*: v :: k -> Type) Source # | |
Defined in ZkFold.Symbolic.Data.Ord Associated Types type GOrderingOf (u :*: v) Source # | |
GOrd v => GOrd (M1 i c v :: k -> Type) Source # | |
Defined in ZkFold.Symbolic.Data.Ord Associated Types type GOrderingOf (M1 i c v) Source # |