@hackage / linear-maps

Finite maps for linear use

Version Deprecated package0.6.1

About

Metadata

  • Last updated , by PeterDivianszky
  • License BSD-3-Clause
  • Maintained by: Péter Diviánszky <divip@aszt.inf.elte.hu>

  • Lottery factor: 0

Links

Installation

This package has been deprecated

Package Flags

Use the -f option with cabal commands to enable flags

    check (off by default)

    Check linear use

    pure (off by default)

    Pure functional implementation

Readme

Finite maps for linear use.

This package contains three different implementations with the same interface. The implementations are controlled by Cabal flags which can be set at installation time with the following commands:

cabal install -fcheck
Installs an implementation where linear use of maps is needed and checked (at runtime). It is recommended to use this version during development.
cabal install
Installs an implementation where linear use of maps is needed but not checked. It is the fastest implementation so it is ideal for the final product. Install this only if you are certain that maps are used linearly.
cabal install -fpure
Installs an implementation where linear use of maps is not needed and not checked. This is the simplest implementation so it can be read as a documentation. Do not install this version because it is slow and does not check the linear use of maps.