instance-control

Controls how the compiler searches for instances using type families. https://github.com/lazac/instance-control

Version on this page:0.1.1.1
LTS Haskell 8.15:0.1.1.1
Stackage Nightly 2017-05-24:0.1.1.1
Latest on Hackage:0.1.1.1
BSD3 licensed by Boldizsar Nemeth
Maintained by nboldi@caesar.elte.hu

Module documentation for 0.1.1.1

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:
Used by 1 package:
comments powered byDisqus