memoize-0.1: A memoization library

The memoize package

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.

Properties

Versions0.1, 0.2, 0.3, 0.4, 0.6
Dependenciesbase (≥3 & <5), haskell98 (1.*), template-haskell (≥2)
LicenseBSD3
AuthorJesse A. Tov <tov@ccs.neu.edu>
Maintainertov@ccs.neu.edu
Stabilityexperimental
CategoryData
Source repositorygit clone git://github.com/tov/memoize.git
Upload dateMon Jul 11 08:54:26 UTC 2011
Uploaded byJesseTov
Built onghc-7.0

Modules

Downloads