memoize

A memoization library

Version on this page:0.7@rev:1
LTS Haskell 6.35:0.7@rev:1
Stackage Nightly 2016-05-25:0.7@rev:1
Latest on Hackage:1.1.2

See all snapshots memoize appears in

BSD-3-Clause licensed by Jesse A. Tov
Maintained by [email protected]
This version can be pinned in stack with:memoize-0.7@sha256:4dccaf9fbeff4ff6207a78541ec3a6592db9c732fc65aa8bef1c5d8ff9c1f9f2,1272

Module documentation for 0.7

Used by 2 packages in nightly-2016-05-17(full list with versions):

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.