HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulegeneric-lens-core-2.2.1.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.2.1.0 · Data.Generics.Internal.Families.Changing
  • (gb ~ g b, UnifyHead f g) => UnifyHead (f a) gbDefined in generic-lens-core-2.2.1.0 · Data.Generics.Internal.Families.Changing