Lists with statically known length based on non-empty package.

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

This version can be pinned in stack with:fixed-length-0.2@sha256:ec5048b670bdd5e164698e06ba149660c8bc15124610fdc8dedecb3b0560d30d,1411

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 and a wrapper that makes all these lists Traversable and Applicative with ZipList semantics.

Similar packages:

  • fixed-list: Defines an open world class.