Re:Why Operators Are Useful
by wool_gather on Saturday March 16, 2019 @11:56AM
(#19408409)
The even more sensible thing is to take an optional argument: a function that is passed the conflicting keys and their values, and must resolve the conflict. If `None` is passed, then a documented default is taken.
[ Parent
| on HN ]
It’s an operator, there are no optional arguments. Though it’s OK to also have a function like you propose.