The indextype package

[Tags:library, mit, test]

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.

Properties

Versions 0.1.0.0, 0.2.0.0
Dependencies base (==4.9.*) [details]
License MIT
Copyright Clinton Mead (2017)
Author Clinton Mead
Maintainer clintonmead@gmail.com
Category Control
Bug tracker https://github.com/clintonmead/indextype/issues
Source repository head: git clone https://github.com/clintonmead/indextype.git
Uploaded Thu Mar 9 04:22:29 UTC 2017 by clinton
Distributions NixOS:0.2.0.0
Downloads 91 total (9 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees