About

Metadata

  • Last updated , by phadej
  • License GPL-2.0-or-later
  • Maintained by: Oleg.Grenrus <oleg.grenrus@iki.fi>

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.12.2
  2. 9.10.1
  3. 9.8.4
  4. 9.6.6
  5. 9.4.8
  6. 9.2.8
  7. 9.0.2
  8. 8.10.7
  9. 8.8.4
  10. 8.6.5

Package Flags

Use the -f option with cabal commands to enable flags

    adjunctions (on by default)

    Depend on adjunctions to provide its instances

    distributive (on by default)

    Depend on distributive to provide its instances. Turning on, disables adjunctions too.

    semigroupoids (on by default)

    Depend on semigroupoids to provide its instances, and traverse1.

Readme

This package provides ordinary random access list, RAList, and also a length indexed variant, RAVec.

The data structure allows fast cons-operation (like ordinary list) but also fast random access (like non-functional arrays).

For lens or optics support see ral-lens and ral-optics packages respectively.

Similar packages

These packages don't provide length-indexed variants, and their RAList has opaque structure.