-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require an Order instance for NonEmptyList's groupBy function (#1964)
* Require an Order instance for NonEmptyList's groupBy function This addresses: #1959 * There's no mutable TreeMap before Scala 2.12; use only immutable * Don't use `mapValues`, as per code review comments #1964 * Have NonEmptyList.groupBy return a SortedMap instead of just a Map * Have List.groupByNel return a SortedMap as well
- Loading branch information
1 parent
41eaa83
commit c121f4f
Showing
3 changed files
with
27 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters