@hackage / tyfam-witnesses

Provide proof witnesses for closed type family evaluation

Latest0.1.1.2

About

Metadata

  • Last updated , by GaborGreif
  • License MIT
  • Categories Development
  • Maintained by: ggreif+tyfam@gmail.com

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.6.2
  2. 8.4.4
  3. 8.4.3
  4. 8.2.2

Readme

Template Haskell routine for generating from type family Foo

FooRefl
a GADT capturing the equalities of each type family clause
reify_Foo
a function that analyses TypeReps and reifies the matching clause as a FooRefl

Note that Type.Reflection is new with GHC v8.2!

See changelog.md for known bugs.