HORIZON HASKELLDocslts/ghc-9.14.xb9228482026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · b922848 · 2026-10-12

  • Packageghc-9.14.1
  • Exports18
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceConLike.hs
datadata ConLike

A constructor-like thing

Instances7Eq, Data, NamedThing, Outputable, Uniquable, OutputableBndr, …

The "full signature" of the ConLike returns, in order:

1) The universally quantified type variables

2) The existentially quantified type/coercion variables

3) The equality specification

4) The provided theta (the constraints provided by a match)

5) The required theta (the constraints required for a match)

6) The original argument types (i.e. before any change of the representation of the type)

7) The original result type