type-spine: A spine-view on types
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.
Downloads
- type-spine-0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1, 0.1.1, 0.1.2, 0.2, 0.2.20120924 |
|---|---|
| Dependencies | base (>=4 && <5), template-haskell [details] |
| License | BSD-3-Clause |
| Author | Nicolas Frisby <nicolas.frisby@gmail.com> |
| Maintainer | Nicolas Frisby <nicolas.frisby@gmail.com> |
| Uploaded | by NicolasFrisby at 2011-11-27T00:51:46Z |
| Category | Type System |
| Distributions | |
| Reverse Dependencies | 7 direct, 0 indirect [details] |
| Downloads | 3661 total (11 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |