memo-swap! is misnamed

Description

In order to be analogous to atoms, the current behavior of memo-swap! should be called memo-reset! since it overwrites the entire memo map. Similarly, there should be a function called memo-swap! that does an atomic swap operation on the memo cache so, for example, you can add a single value to the cache.

Environment

None

Assignee

Sean Corfield

Reporter

Mark Engelberg

Labels

None

Approval

None

Patch

None

Priority

Minor
Configure