A memoization library

Version on this page:0.7
LTS Haskell 6.35:0.7
Stackage Nightly 2016-05-25:0.7
Latest on Hackage:0.8.1

See all snapshots memoize appears in

BSD-3-Clause licensed by Jesse A. Tov
Maintained by

Module documentation for 0.7

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.

Depends on 2 packages:
comments powered byDisqus