Docstring / parameter consistency for swap!, reset!, swap-vals!, and reset-vals!

Description

In Clojure, the parameter and docstring for swap!, swap-vals!, reset!, and reset-vals! consistently refer to atom and newval, but in ClojureScript this is not true.

In ClojureScript, a is used as a parameter name instead of atom, and for the reset functions, the parameter is named new-value, while the docstring refers to newval ( and in ClojureScript, there is one reference to the parameter as new-value in at the end of the reset! docstring).

Suggest changing the parameters and docstrings to be consistent, matching those in Clojure.

Environment

None

Status

Assignee

David Nolen

Reporter

Mike Fikes

Labels

Approval

None

Patch

None

Priority

Trivial
Configure