Controls how the compiler searches for instances using type families.

LTS Haskell 14.10:
Stackage Nightly 2019-10-20:
Latest on Hackage:

See all snapshots instance-control appears in

BSD-3-Clause licensed by Boldizsar Nemeth
Maintained by

Module documentation for

This version can be pinned in stack with:instance-control-,1740

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.

Depends on 3 packages(full list with versions):
Used by 1 package in lts-14.8(full list with versions):
comments powered byDisqus