2 ms·
Is this much different from Clojure’s `update-in` ? You just express a path as a sequence of keys / indexes, and a function to apply, and let the persistent dat
by afandian 2y ago
Is this much different from Clojure’s `update-in` ? You just express a path as a sequence of keys / indexes, and a function to apply, and let the persistent data structure get updated.
It's very neat. But depends on a type system built for this kind of use.
https://clojuredocs.org/clojure.core/update-in https://clojuredocs.org/clojure.core/update-in