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

Moduleghc-9.10.3GHC2021

GHC.HsToCore.Match

  • 6 values
  • Packageghc-9.10.3
  • Exports6
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceMatch.hs
valuematch
  1. :: [MatchId]

    Variables rep'ing the exprs we're matching with ^ See Note [Match Ids]

    ^ Note that the Match Ids carry not only a name, but ^ also the multiplicity at which each column has been ^ type checked.

  2. -> Type

    Type of the case expression

  3. -> [EquationInfo]

    Info about patterns, etc. (type synonym below)

  4. -> DsM (MatchResult CoreExpr)

    Desugared result!

#