haskus-utils-types-1.5.1: Haskus types utility modules
Safe HaskellNone
LanguageHaskell2010

Haskus.Utils.Types.Proxy

Synopsis

Documentation

module Data.Proxy

data NatVal (t :: Nat) Source #

A natural value Proxy

Constructors

NatVal 

Instances

Instances details
KnownNat t => Show (NatVal t) Source # 
Instance details

Defined in Haskus.Utils.Types.Proxy

Methods

showsPrec :: Int -> NatVal t -> ShowS #

show :: NatVal t -> String #

showList :: [NatVal t] -> ShowS #

data Proxy# (a :: k) :: TYPE ('TupleRep ('[] :: [RuntimeRep])) #

The type constructor Proxy# is used to bear witness to some type variable. It's used when you want to pass around proxy values for doing things like modelling type applications. A Proxy# is not only unboxed, it also has a polymorphic kind, and has no runtime representation, being totally free.