Controls how the compiler searches for instances using type families.

LTS Haskell 21.25:
Stackage Nightly 2023-06-21:
Latest on Hackage:

See all snapshots instance-control appears in

BSD-3-Clause licensed by Boldizsar Nemeth
Maintained by [email protected]
This version can be pinned in stack with:instance-control-,1740

Module documentation for

Depends on 3 packages(full list with versions):

GHC has no capability to perform graph searches on instance definition. Because of that, transitive rules for type classes cannot be defined. This package solves the issue with type functions performing a search on the graph where nodes are types and edges are rules from a given rule database. After constructing the type-level representation of the wanted path, the system constructs the needed functions from the value-level representation of the database.