Safe Haskell | None |
---|---|
Language | Haskell2010 |
Symantic for Ord
.
Synopsis
- class Sym_Eq term => Sym_Ordering term where
- tyOrdering :: Source src => LenInj vs => Type src vs Ordering
- teOrdering :: Source src => SymInj ss Ordering => Ordering -> Term src ss ts '[] (() #> Ordering)
- class Sym_Eq term => Sym_Ord term where
- compare :: Ord a => term a -> term a -> term Ordering
- (<) :: Ord a => term a -> term a -> term Bool
- (<=) :: Ord a => term a -> term a -> term Bool
- (>) :: Ord a => term a -> term a -> term Bool
- (>=) :: Ord a => term a -> term a -> term Bool
- max :: Ord a => term a -> term a -> term a
- min :: Ord a => term a -> term a -> term a
- tyOrd :: Source src => Type src vs a -> Type src vs (Ord a)
- teOrd_compare :: TermDef Ord '[Proxy a] (Ord a #> (a -> a -> Ordering))
- teOrd_le :: TermDef Ord '[Proxy a] (Ord a #> (a -> a -> Bool))
- teOrd_lt :: TermDef Ord '[Proxy a] (Ord a #> (a -> a -> Bool))
- teOrd_ge :: TermDef Ord '[Proxy a] (Ord a #> (a -> a -> Bool))
- teOrd_gt :: TermDef Ord '[Proxy a] (Ord a #> (a -> a -> Bool))
- teOrd_min :: TermDef Ord '[Proxy a] (Ord a #> (a -> a -> a))
- teOrd_max :: TermDef Ord '[Proxy a] (Ord a #> (a -> a -> a))
Class Sym_Ordering
class Sym_Eq term => Sym_Ordering term where Source #
Nothing
ordering :: Ordering -> term Ordering Source #
ordering :: Sym_Ordering (UnT term) => Trans term => Ordering -> term Ordering Source #
Instances
Sym_Ordering View Source # | |
Sym_Ordering Eval Source # | |
(Sym_Ordering term, Sym_Lambda term) => Sym_Ordering (BetaT term) Source # | |
(Sym_Ordering r1, Sym_Ordering r2) => Sym_Ordering (Dup r1 r2) Source # | |
Type
s
Term
s
teOrdering :: Source src => SymInj ss Ordering => Ordering -> Term src ss ts '[] (() #> Ordering) Source #
Class Sym_Ord
class Sym_Eq term => Sym_Ord term where Source #
Nothing
compare :: Ord a => term a -> term a -> term Ordering Source #
(<) :: Ord a => term a -> term a -> term Bool infix 4 Source #
(<=) :: Ord a => term a -> term a -> term Bool infix 4 Source #
(>) :: Ord a => term a -> term a -> term Bool infix 4 Source #
(>=) :: Ord a => term a -> term a -> term Bool infix 4 Source #
max :: Ord a => term a -> term a -> term a Source #
min :: Ord a => term a -> term a -> term a Source #
compare :: Sym_Ord (UnT term) => Trans term => Ord a => term a -> term a -> term Ordering Source #
(<) :: Sym_Ord (UnT term) => Trans term => Ord a => term a -> term a -> term Bool infix 4 Source #
(<=) :: Sym_Ord (UnT term) => Trans term => Ord a => term a -> term a -> term Bool infix 4 Source #
(>) :: Sym_Ord (UnT term) => Trans term => Ord a => term a -> term a -> term Bool infix 4 Source #
(>=) :: Sym_Ord (UnT term) => Trans term => Ord a => term a -> term a -> term Bool infix 4 Source #
max :: Sym_Ord (UnT term) => Trans term => Ord a => term a -> term a -> term a Source #
min :: Sym_Ord (UnT term) => Trans term => Ord a => term a -> term a -> term a Source #
Instances
Sym_Ord View Source # | |
Defined in Language.Symantic.Lib.Ord compare :: Ord a => View a -> View a -> View Ordering Source # (<) :: Ord a => View a -> View a -> View Bool Source # (<=) :: Ord a => View a -> View a -> View Bool Source # (>) :: Ord a => View a -> View a -> View Bool Source # (>=) :: Ord a => View a -> View a -> View Bool Source # | |
Sym_Ord Eval Source # | |
Defined in Language.Symantic.Lib.Ord compare :: Ord a => Eval a -> Eval a -> Eval Ordering Source # (<) :: Ord a => Eval a -> Eval a -> Eval Bool Source # (<=) :: Ord a => Eval a -> Eval a -> Eval Bool Source # (>) :: Ord a => Eval a -> Eval a -> Eval Bool Source # (>=) :: Ord a => Eval a -> Eval a -> Eval Bool Source # | |
(Sym_Ord term, Sym_Lambda term) => Sym_Ord (BetaT term) Source # | |
Defined in Language.Symantic.Lib.Ord compare :: Ord a => BetaT term a -> BetaT term a -> BetaT term Ordering Source # (<) :: Ord a => BetaT term a -> BetaT term a -> BetaT term Bool Source # (<=) :: Ord a => BetaT term a -> BetaT term a -> BetaT term Bool Source # (>) :: Ord a => BetaT term a -> BetaT term a -> BetaT term Bool Source # (>=) :: Ord a => BetaT term a -> BetaT term a -> BetaT term Bool Source # max :: Ord a => BetaT term a -> BetaT term a -> BetaT term a Source # min :: Ord a => BetaT term a -> BetaT term a -> BetaT term a Source # | |
(Sym_Ord r1, Sym_Ord r2) => Sym_Ord (Dup r1 r2) Source # | |
Defined in Language.Symantic.Lib.Ord compare :: Ord a => Dup r1 r2 a -> Dup r1 r2 a -> Dup r1 r2 Ordering Source # (<) :: Ord a => Dup r1 r2 a -> Dup r1 r2 a -> Dup r1 r2 Bool Source # (<=) :: Ord a => Dup r1 r2 a -> Dup r1 r2 a -> Dup r1 r2 Bool Source # (>) :: Ord a => Dup r1 r2 a -> Dup r1 r2 a -> Dup r1 r2 Bool Source # (>=) :: Ord a => Dup r1 r2 a -> Dup r1 r2 a -> Dup r1 r2 Bool Source # max :: Ord a => Dup r1 r2 a -> Dup r1 r2 a -> Dup r1 r2 a Source # min :: Ord a => Dup r1 r2 a -> Dup r1 r2 a -> Dup r1 r2 a Source # |
Type
s
Term
s
Orphan instances
ClassInstancesFor Ordering Source # | |
TypeInstancesFor Ordering Source # | |
NameTyOf Ordering Source # | |
(Source src, SymInj ss Ordering) => ModuleFor src ss Ordering Source # | |
Gram_Term_AtomsFor src ss g Ordering Source # | |
g_term_atomsFor :: [CF g (AST_Term src ss)] # | |
ClassInstancesFor Ord Source # | |
TypeInstancesFor Ord Source # | |
NameTyOf Ord Source # | |
FixityOf Ord Source # | |
(Source src, SymInj ss Ord) => ModuleFor src ss Ord Source # | |
Gram_Term_AtomsFor src ss g Ord Source # | |
g_term_atomsFor :: [CF g (AST_Term src ss)] # |