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

sort bulit-in function #1592

Open
raviqqe opened this issue Nov 3, 2022 · 0 comments
Open

sort bulit-in function #1592

raviqqe opened this issue Nov 3, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@raviqqe
Copy link
Contributor

raviqqe commented Nov 3, 2022

Problem

  • There is no quick way to sort generic lists.

Solution

  • Add a sort built-in function.
  • It type is \([T], \(T, T) boolean | none.
    • The result values mean:
      • none: equal
      • false: less than
      • true: greater than
    • Or just boolean for "less than" and "greater than or equal?"
@raviqqe raviqqe added the enhancement New feature or request label Nov 3, 2022
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
Status: Todo
Development

No branches or pull requests

1 participant