Skip to content

Introduce Comparator and PairSorting#1937

Merged
jdeniau merged 2 commits intoimmutable-js:mainfrom
giancosta86:comparator
Mar 10, 2023
Merged

Introduce Comparator and PairSorting#1937
jdeniau merged 2 commits intoimmutable-js:mainfrom
giancosta86:comparator

Conversation

@giancosta86
Copy link
Copy Markdown
Contributor

  • Comparator<T>, together with the PairSorting enum, would make sorting more expressive - without breaking backwards compatibility.

Comment thread type-definitions/immutable.d.ts
Comment thread type-definitions/immutable.d.ts
@jdeniau
Copy link
Copy Markdown
Member

jdeniau commented Feb 20, 2023

Hi @giancosta86 . Thanks for your improvement !

@jdeniau jdeniau merged commit f0f3932 into immutable-js:main Mar 10, 2023
@giancosta86 giancosta86 deleted the comparator branch March 11, 2023 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants