{min,max}-key return first match in >= 1.9.0-alpha20, used to return the last one

Description

The fix, first included in 1.9.0-alpha20, changes behaviour of min-key and max-key to return the first argument among those with the minimum/maximum key, whereas in previously they both returned the last matching argument:

Arguably the new behaviour is more natural, however this is a regression from prior behavior.

Proposed: Restore the original behavior and update docstring.
Patch: 0002-CLJ-2247-document-last-match-semantics-of-min-max-ke.patch
Screened by: Alex Miller

Environment

None

Assignee

Unassigned

Reporter

Michał Marczyk

Labels

Approval

Ok

Patch

Code

Fix versions

Affects versions

Priority

Major
Configure