Commit c1cea592 authored by benoît chesneau's avatar benoît chesneau

distinct add from add_with

we were trying to be too smart in checking if the value given was a
function or not in `lru:add/3` and `lru:contains_or_add/3` functions.
Instead we now have distinct `lru:add_with/3` and `lru:contains_or_add_with/3` to
pass a function.

fix #2
parent be2452de
Pipeline #4708891 passed with stage
in 51 seconds