indextype: A series of type families and constraints for "indexable" types.

[ bsd3, control, library ] [ Propose Tags ]

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.


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,, (info)
Dependencies base (>=4.9 && <4.11) [details]
License BSD-3-Clause
Copyright Clinton Mead (2017)
Author Clinton Mead
Category Control
Bug tracker
Source repo head: git clone
Uploaded by clinton at 2017-10-19T03:10:50Z
Reverse Dependencies 4 direct, 1 indirect [details]
Downloads 4521 total (13 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-10-19 [all 1 reports]