typelevel-1.2.3: Useful type level operations (type families and related operators).

Safe HaskellNone
LanguageHaskell2010

Type.Show_old

Documentation

class TypeShow a where Source #

Minimal complete definition

Nothing

Instances
KnownNat n => TypeShow (n :: Nat) Source # 
Instance details

Defined in Type.Show_old

Methods

showType :: Proxy n -> String Source #

ListElemsShow a => TypeShow (a :: [k]) Source # 
Instance details

Defined in Type.Show_old

Methods

showType :: Proxy a -> String Source #

(TypeShow a, TypeShow b) => TypeShow ((,) a b :: (k2, k1)) Source # 
Instance details

Defined in Type.Show_old

Methods

showType :: Proxy (a, b) -> String Source #

showType' :: forall t. TypeShow t => String Source #

printType :: TypeShow a => Proxy a -> IO () Source #

class ListElemsShow a where Source #

Instances
ListElemsShow ([] :: [k]) Source # 
Instance details

Defined in Type.Show_old

(TypeShow a2, ListElemsShow as) => ListElemsShow (a2 ': as :: [a1]) Source # 
Instance details

Defined in Type.Show_old

Methods

showListElems :: Proxy (a2 ': as) -> String Source #

TypeShow a => ListElemsShow (a ': ([] :: [k]) :: [k]) Source # 
Instance details

Defined in Type.Show_old

Methods

showListElems :: Proxy (a ': []) -> String Source #