multirec-alt-deriver: Alternative multirec instances deriver
New features/changes:
Works with arbitrary monomorphic types, e.g.
([Int],String)
, not just names that refer to monomorphic types.The names of the "proofs" (= constructors of the family GADT) are now specified by the user; they don't need to be equal to the name of the types to which they correspond. (This is useful if you're working with existing code where the name is already taken)
The names of the empty types corresponding to constructors are now also customizable
The type sums in the pattern functor are now balanced trees of
(:+:)
rather than right-nested lists. This cuts down the size of the value-level code (and hopefully helps with compilation time).
Versions | 0.1, 0.1.1, 0.1.2, 0.1.3 |
---|---|
Dependencies | base (==4.*), containers, mtl, multirec, syb, template-haskell, th-expand-syns [details] |
License | BSD-3-Clause |
Author | Daniel Schüssler |
Maintainer | daniels@community.haskell.org |
Category | Template Haskell, Generics |
Source repo | head: darcs get http://code.haskell.org/~daniels/multirec-alt-deriver |
Uploaded | by DanielSchuessler at Tue Oct 13 11:48:13 UTC 2009 |
Distributions | NixOS:0.1.3 |
Downloads | 1392 total (9 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 |
Downloads
- multirec-alt-deriver-0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)