There is the package Memoize.jl, with which one can memoize in Julia. Its @memoize macro creates a dictionary. Is there a way to inspect this dictionary?
As an example, after I execute
@memoize f(n) = n ≤ 1 ? n : f(n-1) + f(n-1)
@show f(10)
I would like to inspect the intermediate values of f which have been generated, so f(0), f(1), ..., f(10).
Someone had written Memo.jl as a replacement or enhancement of Memoize.jl allowing for customization and inspection. However, this package seems to be not maintained.