The typeparams package

[Tags:bsd3, library]

This library provides a lens-like interface for working with type parameters. In the code:

 data Example p1 (p2::Config Nat) (p3::Constraint) = Example

p1, p2, and p3 are the type parameters.

Two example uses of this library are for unboxing unboxed vectors and supercompilation-like optimizations. Please see the README file on github for a detailed description and tutorial. After reading through that, the haddock documentation will make more sense.

Properties

Versions 0.0.1.0, 0.0.2.0, 0.0.3.0, 0.0.3.1, 0.0.4, 0.0.5, 0.0.6
Dependencies base (>=3 && <5), constraints (>=0.3.4), deepseq (>=1.3), ghc-prim, MonadRandom (>=0.1.13), primitive (>=0.5), reflection (>=1.3), tagged (>=0.7), template-haskell, vector (>=0.10) [details]
License BSD3
Author Mike izbicki
Maintainer mike@izbicki.me
Stability Unknown
Category Configuration, Dependent Types, Data, Optimization
Home page http://github.com/mikeizbicki/params/
Bug tracker http://github.com/mikeizbicki/params/issues
Uploaded Fri Jun 6 08:46:25 UTC 2014 by MikeIzbicki
Distributions NixOS:0.0.6
Downloads 1200 total (19 in the last 30 days)
Votes
0 []
Status Docs uploaded by user [build log]
All reported builds failed [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees