GHC.TypeNats
- Kind
- module
- Module
GHC.TypeNats
Source: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
The entries of GHC.TypeNats in the Haskell reference. This page has 20 cards.
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
cmpNat :: forall (a :: Nat) (b :: Nat) proxy1 proxy2. (KnownNat a, KnownNat b) => proxy1 a -> proxy2 b -> OrderingI a b
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
decideNat :: forall (a :: Nat) (b :: Nat) proxy1 proxy2. (KnownNat a, KnownNat b) => proxy1 a -> proxy2 b -> Either ((a :~: b) -> Void) (a :~: b)
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
fromSNat :: forall (n :: Nat). SNat n -> Natural
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
natSing :: KnownNat n => SNat n
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
natVal :: forall (n :: Nat) proxy. KnownNat n => proxy n -> Natural
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
natVal' :: forall (n :: Nat). KnownNat n => Proxy# n -> Natural
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
sameNat :: forall (a :: Nat) (b :: Nat) proxy1 proxy2. (KnownNat a, KnownNat b) => proxy1 a -> proxy2 b -> Maybe (a :~: b)
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
someNatVal :: Natural -> SomeNat
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
withKnownNat :: forall (n :: Nat) r. SNat n -> (KnownNat n => r) -> r
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.
withSomeSNat :: Natural -> (forall (n :: Nat). () => SNat n -> r) -> r
GHC.TypeNatsSource: hackage.haskell.org, hackage.haskell.org. JSON record. This entry is a card. Help write this page.