Skip to content

ktonon/elm-memo-pure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elm-memo-pure

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.