packages feed

MicroHs-0.15.0.0: lib/Data/TypeLits.hs

module Data.TypeLits(
  Symbol,
  Nat,
  KnownNat(..),
  KnownSymbol(..),
  ) where
import qualified Prelude()
import Primitives
import Data.Char_Type
import Data.Integer
import {-# SOURCE #-} Data.Typeable

class KnownNat (n :: Nat) where
  natVal :: forall (proxy :: Nat -> Type) . proxy n -> Integer

class KnownSymbol (s :: Symbol) where
  symbolVal :: forall (proxy :: Symbol -> Type) . proxy s -> String