MicroHs-0.17.4.0 / lib / Data / TypeLits.hs
module Data.TypeLits( Symbol, Nat, KnownNat(..), KnownSymbol(..), ) whereimport qualified Prelude()import Primitivesimport Data.Char_Typeimport Data.Integerimport {-# SOURCE #-} Data.Typeableclass KnownNat (n :: Nat) where natVal :: forall (proxy :: Nat -> Type) . proxy n -> Integerclass KnownSymbol (s :: Symbol) where symbolVal :: forall (proxy :: Symbol -> Type) . proxy s -> String