memoz v0.2.0 MemoZ View Source
MemoZ run recursive while memoizing anonymous functions.
Link to this section Summary
Link to this section Functions
init to your anonymous recursive function, will make memoize.
### Example
MemoZ.init(fn f ->
fn
0 -> 0
1 -> 1
x -> f.(x-1) + f.(x-2)
end
end).(100) #=> 354224848179261915075