tagged-list: Lists tagged with a type-level natural number representing their length.

[ bsd3, data, library ] [ Propose Tags ]

This package contains a datatype, TaggedList, that provides a fixed-length list tagged with a phantom type-level natural number that corresponds to the length of the list. It also contains some basic operations on these lists, as well as a typeclass for converting tagged lists to and from tuples.

New in version 1.1: added function castTag, improved error reporting in fromList, and fixed compiler error with GHC 7.0.*




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 1.0, 1.1
Dependencies AbortT-transformers (>=1.0 && <1.1), base (>=3 && <5), binary (>=0.5 && <0.6), natural-number (>=1.0 && <1.1), type-equality (>=0.1 && <0.2), type-level-natural-number (>=1.0 && <1.2), type-level-natural-number-induction (>=1.0 && <1.1), type-level-natural-number-operations (>=1.0 && <1.1) [details]
License BSD-3-Clause
Author Gregory Crosswhite
Maintainer Gregory Crosswhite <gcrosswhite@gmail.com>
Category Data
Source repo head: git clone git://github.com/gcross/tagged-list.git
this: git clone git://github.com/gcross/tagged-list.git(tag 1.1)
Uploaded by GregoryCrosswhite at 2011-10-21T02:28:58Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1767 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]