Copyright | (C) 2014 Richard Eisenberg |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Richard Eisenberg (rae@cs.brynmawr.edu) |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Defines and exports promoted and singleton versions of definitions from GHC.Num.
Synopsis
- class PNum (a :: Type) where
- type family Subtract (a :: a) (a :: a) :: a where ...
- data (+@#@$) (l :: TyFun a6989586621679412530 (TyFun a6989586621679412530 a6989586621679412530 -> Type))
- data (l :: a6989586621679412530) +@#@$$ (l :: TyFun a6989586621679412530 a6989586621679412530)
- type (+@#@$$$) (t :: a6989586621679412530) (t :: a6989586621679412530) = (+) t t
- data (-@#@$) (l :: TyFun a6989586621679412530 (TyFun a6989586621679412530 a6989586621679412530 -> Type))
- data (l :: a6989586621679412530) -@#@$$ (l :: TyFun a6989586621679412530 a6989586621679412530)
- type (-@#@$$$) (t :: a6989586621679412530) (t :: a6989586621679412530) = (-) t t
- data (*@#@$) (l :: TyFun a6989586621679412530 (TyFun a6989586621679412530 a6989586621679412530 -> Type))
- data (l :: a6989586621679412530) *@#@$$ (l :: TyFun a6989586621679412530 a6989586621679412530)
- type (*@#@$$$) (t :: a6989586621679412530) (t :: a6989586621679412530) = * t t
- data NegateSym0 (l :: TyFun a6989586621679412530 a6989586621679412530)
- type NegateSym1 (t :: a6989586621679412530) = Negate t
- data AbsSym0 (l :: TyFun a6989586621679412530 a6989586621679412530)
- type AbsSym1 (t :: a6989586621679412530) = Abs t
- data SignumSym0 (l :: TyFun a6989586621679412530 a6989586621679412530)
- type SignumSym1 (t :: a6989586621679412530) = Signum t
- data FromIntegerSym0 (l :: TyFun Nat a6989586621679412530)
- type FromIntegerSym1 (t :: Nat) = FromInteger t
- data SubtractSym0 (l :: TyFun a6989586621679414803 (TyFun a6989586621679414803 a6989586621679414803 -> Type))
- data SubtractSym1 (l :: a6989586621679414803) (l :: TyFun a6989586621679414803 a6989586621679414803)
- type SubtractSym2 (t :: a6989586621679414803) (t :: a6989586621679414803) = Subtract t t
Documentation
Defunctionalization symbols
data (+@#@$) (l :: TyFun a6989586621679412530 (TyFun a6989586621679412530 a6989586621679412530 -> Type)) Source #
Instances
SuppressUnusedWarnings ((+@#@$) :: TyFun a6989586621679412530 (TyFun a6989586621679412530 a6989586621679412530 -> Type) -> *) Source # | |
suppressUnusedWarnings :: () Source # | |
type Apply ((+@#@$) :: TyFun a6989586621679412530 (TyFun a6989586621679412530 a6989586621679412530 -> Type) -> *) (l :: a6989586621679412530) Source # | |
data (l :: a6989586621679412530) +@#@$$ (l :: TyFun a6989586621679412530 a6989586621679412530) Source #
data (-@#@$) (l :: TyFun a6989586621679412530 (TyFun a6989586621679412530 a6989586621679412530 -> Type)) Source #
Instances
SuppressUnusedWarnings ((-@#@$) :: TyFun a6989586621679412530 (TyFun a6989586621679412530 a6989586621679412530 -> Type) -> *) Source # | |
suppressUnusedWarnings :: () Source # | |
type Apply ((-@#@$) :: TyFun a6989586621679412530 (TyFun a6989586621679412530 a6989586621679412530 -> Type) -> *) (l :: a6989586621679412530) Source # | |
data (l :: a6989586621679412530) -@#@$$ (l :: TyFun a6989586621679412530 a6989586621679412530) Source #
data (*@#@$) (l :: TyFun a6989586621679412530 (TyFun a6989586621679412530 a6989586621679412530 -> Type)) Source #
Instances
SuppressUnusedWarnings ((*@#@$) :: TyFun a6989586621679412530 (TyFun a6989586621679412530 a6989586621679412530 -> Type) -> *) Source # | |
suppressUnusedWarnings :: () Source # | |
type Apply ((*@#@$) :: TyFun a6989586621679412530 (TyFun a6989586621679412530 a6989586621679412530 -> Type) -> *) (l :: a6989586621679412530) Source # | |
data (l :: a6989586621679412530) *@#@$$ (l :: TyFun a6989586621679412530 a6989586621679412530) Source #
data NegateSym0 (l :: TyFun a6989586621679412530 a6989586621679412530) Source #
Instances
SuppressUnusedWarnings (NegateSym0 :: TyFun a6989586621679412530 a6989586621679412530 -> *) Source # | |
suppressUnusedWarnings :: () Source # | |
type Apply (NegateSym0 :: TyFun a a -> *) (l :: a) Source # | |
type NegateSym1 (t :: a6989586621679412530) = Negate t Source #
data SignumSym0 (l :: TyFun a6989586621679412530 a6989586621679412530) Source #
Instances
SuppressUnusedWarnings (SignumSym0 :: TyFun a6989586621679412530 a6989586621679412530 -> *) Source # | |
suppressUnusedWarnings :: () Source # | |
type Apply (SignumSym0 :: TyFun a a -> *) (l :: a) Source # | |
type SignumSym1 (t :: a6989586621679412530) = Signum t Source #
data FromIntegerSym0 (l :: TyFun Nat a6989586621679412530) Source #
Instances
SuppressUnusedWarnings (FromIntegerSym0 :: TyFun Nat a6989586621679412530 -> *) Source # | |
suppressUnusedWarnings :: () Source # | |
type Apply (FromIntegerSym0 :: TyFun Nat k2 -> *) (l :: Nat) Source # | |
type FromIntegerSym1 (t :: Nat) = FromInteger t Source #
data SubtractSym0 (l :: TyFun a6989586621679414803 (TyFun a6989586621679414803 a6989586621679414803 -> Type)) Source #
Instances
SuppressUnusedWarnings (SubtractSym0 :: TyFun a6989586621679414803 (TyFun a6989586621679414803 a6989586621679414803 -> Type) -> *) Source # | |
suppressUnusedWarnings :: () Source # | |
type Apply (SubtractSym0 :: TyFun a6989586621679414803 (TyFun a6989586621679414803 a6989586621679414803 -> Type) -> *) (l :: a6989586621679414803) Source # | |
type Apply (SubtractSym0 :: TyFun a6989586621679414803 (TyFun a6989586621679414803 a6989586621679414803 -> Type) -> *) (l :: a6989586621679414803) = SubtractSym1 l |
data SubtractSym1 (l :: a6989586621679414803) (l :: TyFun a6989586621679414803 a6989586621679414803) Source #
Instances
SuppressUnusedWarnings (SubtractSym1 :: a6989586621679414803 -> TyFun a6989586621679414803 a6989586621679414803 -> *) Source # | |
suppressUnusedWarnings :: () Source # | |
type Apply (SubtractSym1 l1 :: TyFun a a -> *) (l2 :: a) Source # | |
type SubtractSym2 (t :: a6989586621679414803) (t :: a6989586621679414803) = Subtract t t Source #