Safe Haskell | None |
---|---|
Language | Haskell2010 |
Internal module containing the generics machinery to provide the instances
exported by this library, using GLens
.
Warnings:
Documentation
class GAdapt args opt all where Source #
Generic version of Adapt
.
Instances
GLens' (HasTotalLabelPSym lbl) (args :*: opts) all => GAdapt args opts (S1 ('MetaSel ('Just lbl) p f b) (Rec0 all)) Source # | |
GAdapt args opt all => GAdapt args opt (D1 c all) Source # | |
Defined in Data.Generic.Labels.Internal | |
GAdapt args opt all => GAdapt args opt (C1 c all) Source # | |
Defined in Data.Generic.Labels.Internal | |
(GAdapt args opt all1, GAdapt args opt all2) => GAdapt args opt (all1 :*: all2) Source # | |
Defined in Data.Generic.Labels.Internal | |
GLens' (HasTotalLabelPSym lbl) (args :*: opts) all => GAdapt args opts (M1 m meta (Rec0 (lbl := all))) Source # | This instance is INCOHERENT because we assume that no type variable (say The end result is that, when we have both a built-in Haskell record field name as well as an explicit label, we prioritise the built-in record field name over the label. |