FnStore

A dynamic persistent value store using closure type as key and storing its return value

Usage

```rust use fn_store::FnStore;

let mut store = FnStore::new();

let a = *store.get(|| 1); let b = *store.get(|| 2);

asserteq!(a, 1); asserteq!(b, 2); ```

License

MIT