HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

valuemkRepPolyIdConcreteTyVars
  1. :: [((Type, Position 'Neg), TyVar)]

    ((ty, pos), tv) ty is the type on which the representation-polymorphism check is done tv is the type variable we are checking for concreteness (usually the kind of ty) pos is the position of ty in the type of the Id

  2. -> Name

    Name of the rep-poly Id

  3. -> ConcreteTyVars

Directly specify which outer forall'd type variables of a representation-polymorphic Id such become concrete metavariables when instantiated.