memoize: A memoization library

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

This library provides a type class Memoizable for memoizing functions, along with instances for a variety of argument types. It includes a Template Haskell function for deriving Memoizable instances for arbitrary algebraic datatypes.

The library constructs pure memo caches without the use of unsafePerformIO. This technique relies on implementation assumptions that, while not guaranteed by the semantics of Haskell, appear to be true.

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2, 0.3, 0.4, 0.6, 0.7, 0.8, 0.8.1, 1.0.0, 1.1.0, 1.1.1, 1.1.2
Dependencies base (>=3 && <5), template-haskell (>=2 && <2.8) [details]
Tested with ghc ==7.4.1, ghc ==7.0.2, ghc ==6.12.3
License BSD-3-Clause
Author Jesse A. Tov <tov@ccs.neu.edu>
Maintainer tov@ccs.neu.edu
Revised Revision 1 made by HerbertValerioRiedel at 2016-01-15T20:30:23Z
Category Data
Source repo head: git clone git://github.com/tov/memoize.git
Uploaded by JesseTov at 2012-03-12T13:31:34Z
Distributions Debian:0.8.1, NixOS:1.1.2
Reverse Dependencies 10 direct, 6 indirect [details]
Downloads 10908 total (59 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]