Generic typeclass machinery for inducting on the structure of the type, such that we can thread Display instances through the structure of the type. The primary use case is for implementing RecordInstance, which does this "threading" for record fields. This machinery does, crucially, depend on child types (i.e. the type of a record field) having a Display instance.
Methods
gdisplayBuilder1 :: f p -> Builder
Instances8GDisplay1, …
GDisplay1 U1Defined in text-display-0.0.5.2 · Data.Text.Display.GenericGDisplay1 V1Defined in text-display-0.0.5.2 · Data.Text.Display.GenericDisplay c => GDisplay1 (K1 i c)Defined in text-display-0.0.5.2 · Data.Text.Display.GenericThis is the most important instance, it can be considered as the "base case". It requires a non-generic Display instance. All this generic machinery can be conceptualized as distributing these displayBuilder calls across a product type.
(GDisplay1 a, GDisplay1 b) => GDisplay1 (a :*: b)Defined in text-display-0.0.5.2 · Data.Text.Display.Generic(GDisplay1 a, GDisplay1 b) => GDisplay1 (a :+: b)Defined in text-display-0.0.5.2 · Data.Text.Display.GenericGDisplay1 f => GDisplay1 (M1 D s f)Defined in text-display-0.0.5.2 · Data.Text.Display.Generic(Constructor c, GDisplay1 f) => GDisplay1 (M1 C c f)Defined in text-display-0.0.5.2 · Data.Text.Display.Generic(Selector s, GDisplay1 f) => GDisplay1 (M1 S s f)Defined in text-display-0.0.5.2 · Data.Text.Display.Generic