This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Memoization library in pure elm
version 1.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.0
Committed At 2017-08-02 00:19:27 UTC
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1




elm-package CircleCI

Single argument function memoization in pure elm.

Motivated by the deprecation of elm-lang/lazy. This library is inspired by eeue56/elm-lazy in that it makes memoization explicit. The memoized function is encapsulated as a Memo. Calling a memoized function returns both the result of the original function, and a new Memo containing the possibly newly cached result.

See the documentation for examples.