HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulegeneric-lens-core-2.3.0.0Haskell2010

Data.Generics.Internal.Families.Changing

  • 2 types
  • 1 class
typetype Indexed (t :: k) = Indexed' t 0
#
familytype family Infer s a' b where
#

Equations

  • Infer (s a) a' b = ReplaceArgs (s a) (Unify a' b)
  • Infer s _1 _2 = s
familytype family P :: Nat -> k -> PTag -> k
#
classclass UnifyHead (a :: k) (b :: k)
#

Ensure that the types a and b are both applications of the same constructor. The arguments may be different.

Instances2UnifyHead
  • a ~ b => UnifyHead a bDefined in generic-lens-core-2.3.0.0 · Data.Generics.Internal.Families.Changing
  • (gb ~ g b, UnifyHead f g) => UnifyHead (f a) gbDefined in generic-lens-core-2.3.0.0 · Data.Generics.Internal.Families.Changing