You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: