Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Natural numbers.
Note that the operators from this module conflict with GHC.TypeLits and GHC.TypeNats.
Reexported type
From GHC.TypeNats.
(Kind) This is the kind of type-level natural numbers.
Instances
type Eval (a ^ b :: Nat -> Type) Source # | |
type Eval (a * b :: Nat -> Type) Source # | |
type Eval (a - b :: Nat -> Type) Source # | |
type Eval (a + b :: Nat -> Type) Source # | |
type Eval (Length (a2 ': as) :: Nat -> Type) Source # | |
type Eval (Length ([] :: [a]) :: Nat -> Type) Source # | |
Defined in Fcf.Data.List | |
type Eval (FindIndex p (a2 ': as) :: Maybe Nat -> Type) Source # | |
type Eval (FindIndex _p ([] :: [a]) :: Maybe Nat -> Type) Source # | |