Show-like class for 1-type-parameter GADTs. GShow t => ... is equivalent to something
like (forall a. Show (t a)) => .... The easiest way to create instances would probably be
to write (or derive) an instance Show (T a), and then simply say:
instance GShow t where gshowsPrec = showsPrecMethods
gshowsPrec :: Int -> t a -> ShowS
Instances5GShow
GShow TypeRepDefined in dependent-sum-0.6.2.0 · Data.GADT.ShowGShow (GOrdering a)Defined in dependent-sum-0.6.2.0 · Data.GADT.CompareGShow ((:~:) a)Defined in dependent-sum-0.6.2.0 · Data.GADT.Show(GShow a, GShow b) => GShow (Product a b)Defined in dependent-sum-0.6.2.0 · Data.GADT.ShowExample1 expression gshow (Pair Refl Refl :: Product ((:~:) Int) ((:~:) Int) Int)"Pair Refl Refl"
(GShow a, GShow b) => GShow (Sum a b)Defined in dependent-sum-0.6.2.0 · Data.GADT.ShowExample1 expression gshow (InL Refl :: Sum ((:~:) Int) ((:~:) Bool) Int)"InL Refl"