Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: immutable sort #255

Open
hg-pyun opened this issue Mar 11, 2024 · 1 comment
Open

feat: immutable sort #255

hg-pyun opened this issue Mar 11, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@hg-pyun
Copy link
Collaborator

hg-pyun commented Mar 11, 2024

Suggestion

Since the sort of an array refers to a reference, the original array changes. Usually, functional programming treats an array in an immutable way.

The sort function of fxts does not support immutable.

As 'toSorted' is added as a new method of array, it would be good to support 'toSorted' in fxts. After implementing internally, if 'native to Sorted' compatibility is guaranteed, it would be better to replace the internal implementation then.

Reference

@hg-pyun hg-pyun added the enhancement New feature or request label Mar 11, 2024
@hg-pyun hg-pyun self-assigned this Mar 12, 2024
@hg-pyun
Copy link
Collaborator Author

hg-pyun commented Mar 12, 2024

I will take it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant