type-spine: A spine-view on types

[ bsd3, library, type-system ] [ Propose Tags ]

Until http://research.microsoft.com/en-us/people/dimitris/fc-kind-poly.pdf reaches the mainline, this is a surprisingly effective workaround. We support a limited number of kinds out-of-the-box, but it can be extended by the power-user. Also, quasiquotation makes the code rather legible. Given a finite set of kinds to support, generic type families can be defined that will work for an infinite number of types. It is very much a "bumping up" of the term-level spine view.

See the type-cereal package for a use case.

Versions 0.1, 0.1.1, 0.1.2, 0.2, 0.2.20120924
Dependencies base (==4.*), template-haskell [details]
License BSD-3-Clause
Author Nicolas Frisby <nicolas.frisby@gmail.com>
Maintainer Nicolas Frisby <nicolas.frisby@gmail.com>
Category Type System
Uploaded by NicolasFrisby at Wed Mar 21 22:31:47 UTC 2012
Distributions NixOS:0.2.20120924
Downloads 1718 total (14 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees