fixed-length

Lists with statically known length based on non-empty package. http://hub.darcs.net/thielema/fixed-length/

LTS Haskell 15.7:0.2.2
Stackage Nightly 2020-04-09:0.2.2
Latest on Hackage:0.2.2

See all snapshots fixed-length appears in

BSD-3-Clause licensed and maintained by Henning Thielemann

Module documentation for 0.2.2

This version can be pinned in stack with:[email protected]:813f94a0162eb4025b22ca14b5b4dc98b549509afb7fa46d948ec470f1c1205e,1452

This packages defines a list data type with statically known length by nesting the NonEmpty and Empty data structure from the non-empty package. We provide a closed world class for this class of structures http://www.haskell.org/haskellwiki/Closed_world_instances and a wrapper that makes all these lists Traversable and Applicative with ZipList semantics.

Similar packages:

  • fixed-list: Defines an open world class.