Safe Haskell | None |
---|---|
Language | Haskell2010 |
Symantic for Num
.
- class Sym_Num term where
- tyNum :: Source src => Type src vs a -> Type src vs (Num a)
- teNum_fromInteger :: TermDef Num '[Proxy a] (Num a #> (Integer -> a))
- teNum_abs :: TermDef Num '[Proxy a] (Num a #> (a -> a))
- teNum_negate :: TermDef Num '[Proxy a] (Num a #> (a -> a))
- teNum_signum :: TermDef Num '[Proxy a] (Num a #> (a -> a))
- teNum_add :: TermDef Num '[Proxy a] (Num a #> (a -> a -> a))
- teNum_sub :: TermDef Num '[Proxy a] (Num a #> (a -> a -> a))
- teNum_mul :: TermDef Num '[Proxy a] (Num a #> (a -> a -> a))
Class Sym_Num
class Sym_Num term where Source #
abs :: Num n => term n -> term n Source #
negate :: Num n => term n -> term n Source #
signum :: Num n => term n -> term n Source #
(+) :: Num n => term n -> term n -> term n infixl 6 Source #
(-) :: Num n => term n -> term n -> term n infixl 6 Source #
(*) :: Num n => term n -> term n -> term n infixl 7 Source #
fromInteger :: Num n => term Integer -> term n Source #
abs :: Sym_Num (UnT term) => Trans term => Num n => term n -> term n Source #
negate :: Sym_Num (UnT term) => Trans term => Num n => term n -> term n Source #
signum :: Sym_Num (UnT term) => Trans term => Num n => term n -> term n Source #
(+) :: Sym_Num (UnT term) => Trans term => Num n => term n -> term n -> term n infixl 6 Source #
(-) :: Sym_Num (UnT term) => Trans term => Num n => term n -> term n -> term n infixl 6 Source #
(*) :: Sym_Num (UnT term) => Trans term => Num n => term n -> term n -> term n infixl 7 Source #
fromInteger :: Sym_Num (UnT term) => Trans term => Num n => term Integer -> term n Source #
Type
s
Term
s
Orphan instances
ClassInstancesFor (* -> Constraint) Num Source # | |
TypeInstancesFor (* -> Constraint) Num Source # | |
NameTyOf (* -> Constraint) Num Source # | |
FixityOf (* -> Constraint) Num Source # | |
(Source src, SymInj (* -> Constraint) ss Num) => ModuleFor (* -> Constraint) src ss Num Source # | |
Gram_Term_AtomsFor (* -> Constraint) src ss g Num Source # | |