memo

memo is an OCaml library for memoïzation.

It provides easy ways to memoïze a function, in a type-safe and modular way and the ability to get forgetful memoïzation.

See usage for a short explanation on how to use the library and Memo for a more detailled explanation.