instance (Sym_Show term, Sym_Lambda term) => Sym_Show (BetaT term)
-- Typing
+instance NameTyOf Show where
+ nameTyOf _c = ["Show"] `Mod` "Show"
instance FixityOf Show
instance ClassInstancesFor Show
instance TypeInstancesFor Show
-- Compiling
instance Gram_Term_AtomsFor src ss g Show
-instance (Source src, Inj_Sym ss Show) => ModuleFor src ss Show where
+instance (Source src, SymInj ss Show) => ModuleFor src ss Show where
moduleFor = ["Show"] `moduleWhere`
[ "showsPrec" := teShow_showsPrec
, "show" := teShow_show
tyShow :: Source src => Type src vs a -> Type src vs (Show a)
tyShow a = tyConstLen @(K Show) @Show (lenVars a) `tyApp` a
-tyShowS :: Source src => Inj_Len vs => Type src vs ShowS
+tyShowS :: Source src => LenInj vs => Type src vs ShowS
tyShowS = tyString ~> tyString
-- ** 'Term's