You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will leave :params with both :a and :b keys. The current behavior is exactly what I wanted, but I had to test it to understand. I think docs need a different word than merge -- having now checked the impl I see you call it merge-map-element. Maybe there is a standard name from some other FP language...
The text was updated successfully, but these errors were encountered:
This is one of the points that must be worked out in more detail before I want to release a 1.0. The current behavior is often the desired one, but you cannot remove an existing key. In any case the behavior and the motivation behind it must be documented.
My suggestion is to rename it 'combine'. Since that name doesn't clash with
anything in clojure.core it will avoid confusion with clojure.core/merge
and clojure.core/merge-with
This is one of the points that must be worked out in more detail before I
want to release a 1.0. The current behavior is often the desired one, but
you cannot remove an existing key. In any case the behavior and the
motivation behind it must be documented.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-9292298.
The merge performed by a decision function is not a Clojure map merge, e.g. merging these two maps
will leave
:params
with both:a
and:b
keys. The current behavior is exactly what I wanted, but I had to test it to understand. I think docs need a different word thanmerge
-- having now checked the impl I see you call itmerge-map-element
. Maybe there is a standard name from some other FP language...The text was updated successfully, but these errors were encountered: