Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
class PNum (a :: PType) where Source #
Nothing
(#+) :: Term s a -> Term s a -> Term s a infix 6 Source #
(#-) :: Term s a -> Term s a -> Term s a infix 6 Source #
(#*) :: Term s a -> Term s a -> Term s a infix 6 Source #
pnegate :: Term s (a :--> a) Source #
pabs :: Term s (a :--> a) Source #
psignum :: Term s (a :--> a) Source #
pfromInteger :: Integer -> Term s a Source #
Instances
Orphan instances
PNum a => Num (Term s a) Source # | |
(+) :: Term s a -> Term s a -> Term s a Source # (-) :: Term s a -> Term s a -> Term s a Source # (*) :: Term s a -> Term s a -> Term s a Source # negate :: Term s a -> Term s a Source # abs :: Term s a -> Term s a Source # signum :: Term s a -> Term s a Source # fromInteger :: Integer -> Term s a Source # |