ExpandingMan / Anamnesis.jl

Fancy memoizing for expensive functions in Julia.
Other
18 stars 4 forks source link

@anamnesis does not play well with Revise #9

Open cstjean opened 5 years ago

cstjean commented 5 years ago

When I add @anamnesis new_function(x) = x to a module, Revise complains

ERROR: UndefVarError: ####new_function__raw__scribe not defined

and when I modify an existing @anamnesis function, the cache is not invalidated, which I would have expected if the macro is reexecuted. Although I suppose that's debatable.

ExpandingMan commented 5 years ago

Hm... really not sure about that one. Does Memoize.jl work with Revise?