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

Safe HaskellNone
LanguageHaskell2010

Type.Show

Documentation

class Typeable a => TypeShow a where Source #

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

Defined in Type.Show

Typeable a => TypeShow (a :: k) Source # 
Instance details

Defined in Type.Show

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

Defined in Type.Show

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

Defined in Type.Show

printType :: forall a m. (TypeShow a, MonadIO m) => m () Source #

ppPrintType :: forall a m. (TypeShow a, MonadIO m) => m () Source #

ppShowType :: forall a. TypeShow a => String Source #

ppTypeDoc :: forall a. TypeShow a => Doc Source #

class ListElemsShow a where Source #

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

Defined in Type.Show

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

Defined in Type.Show

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

Defined in Type.Show