Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data TypeProvenance v loc
- = NotDefault (Provenance v loc)
- | Default
- prov :: Traversal (TypeProvenance v loc) (TypeProvenance v loc') (Provenance v loc) (Provenance v loc')
Documentation
data TypeProvenance v loc Source #
Provenance of an IsType
constraint. IsType
constraints arise
in constraint generation (in which case it will have a
Provenance
) and also in the solver through kind-defaulting on
unconstrained unification variables.
NotDefault (Provenance v loc) | |
Default |
Instances
prov :: Traversal (TypeProvenance v loc) (TypeProvenance v loc') (Provenance v loc) (Provenance v loc') Source #