-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(config): `ignore_case` option * feat(api): provide configured sort case converter in `with_pin_order` This seems like the cleanest way to inject the conversion. We don't know what is applicable to be converted from within the function, and so we can't apply it automatically. On the other hand, if we make this a separate helper function, it will be cumbersome to call it in each sorting function that needs it. I would be open to hearing other ideas, though. * ref(api): use `to_sort_case` in sorting functions where applicable * docs: `sort.ignore_case` * perf(api): use function instead of closure SEE: #598 (comment)
- Loading branch information
Showing
4 changed files
with
34 additions
and
8 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
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