Hacker News new | ask | show | jobs
by physicsyogi 2468 days ago
I'd probably be happy with "update", which is similar to Clojure's API for its persistent vector and map.

https://clojuredocs.org/clojure.core/update

1 comments

update is a different operation, it takes an update function for the value. The clojure equivalent to set is assoc.