indextype: A series of type families and constraints for "indexable" types.
This package deals with types that can roughly be "indexed" at compile time by an integer.
For example, tuples and be indexed by their nth elements, and functions by their nth argument.
A number of type functions allow one to extract these subtypes, i.e. the type of the 2nd element of a given tuple.
Furthermore, constraints are defined which allow one to easily constrain types to these index types,
e.g. a constraint that says "t
is a 3 tuple". Control.IndexT
has more detail.
Downloads
- indextype-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0, 0.3.0.0, 0.3.0.1 (info) |
---|---|
Dependencies | base (>=4.7 && <5) [details] |
Tested with | ghc ==8.0.2 |
License | MIT |
Copyright | Clinton Mead (2017) |
Author | Clinton Mead |
Maintainer | clintonmead@gmail.com |
Revised | Revision 2 made by clinton at 2017-03-01T12:47:34Z |
Category | Control |
Bug tracker | https://github.com/clintonmead/indextype/issues |
Source repo | head: git clone https://github.com/clintonmead/indextype.git |
Uploaded | by clinton at 2017-02-28T05:39:06Z |
Distributions | |
Reverse Dependencies | 4 direct, 1 indirect [details] |
Downloads | 4631 total (18 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2017-02-28 [all 3 reports] |