instance-control: Controls how the compiler searches for instances using type families.

[ bsd3, control, library ] [ Propose Tags ]

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.


[Last Documentation]

  • Control
    • Instances
      • Control.Instances.Morph


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,
Dependencies base (>=4.7 && <4.9), mtl (>=2.2 && <2.3), transformers (>=0.4 && <0.5) [details]
License BSD-3-Clause
Author Boldizsar Nemeth
Category Control
Home page
Source repo head: git clone
Uploaded by lazac at 2016-05-11T08:01:31Z
Reverse Dependencies 1 direct, 15 indirect [details]
Downloads 3454 total (14 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-25 [all 2 reports]