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.

Versions 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.2.0
Dependencies base (>=4.9 && <5.0), mtl (==2.2.*), transformers (>=0.4 && <0.6) [details]
License BSD-3-Clause
Author Boldizsar Nemeth
Maintainer nboldi@caesar.elte.hu
Category Control
Home page https://github.com/lazac/instance-control
Source repo head: git clone http://github.com/nboldi/instance-control
Uploaded by lazac at Wed Sep 27 06:34:35 UTC 2017
Distributions LTSHaskell:0.1.2.0, NixOS:0.1.2.0, Stackage:0.1.2.0
Downloads 1037 total (22 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-09-27 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees