Safe Haskell | Safe-Inferred |
---|---|
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 (Sum ns :: 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 (Compare a b :: Ordering -> Type) Source # | |
type Eval (FindIndex p (a2 ': as) :: Maybe Nat -> Type) Source # | |
type Eval (FindIndex _p ('[] :: [a]) :: Maybe Nat -> Type) Source # | |
Operations
Comparisons
Note that these conflict with Fcf.Class.Ord.