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

Make the or if list empty phrase optional #785

Merged
merged 6 commits into from
Feb 13, 2025
Merged

Make the or if list empty phrase optional #785

merged 6 commits into from
Feb 13, 2025

Conversation

AltGr
Copy link
Contributor

@AltGr AltGr commented Feb 11, 2025

on extremum and arg-extremum queries on lists. This required tuning the reduce internal operator to have a thunked default value.

This also includes a patch that adds support for running test scopes in Python

Todo:

  • update the doc and cheat-sheet
  • update the tree-sitter grammar

Closes #764

@AltGr AltGr force-pushed the min-no-default branch 2 times, most recently from 8d19d36 to 0ebb5d1 Compare February 13, 2025 08:46
(untested: doesn't compile anymore on my machines with newer minted...)
Copy link
Contributor

@vincent-botbol vincent-botbol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR looks good. Let's not forget to update the tree-sitter as well.

@AltGr
Copy link
Contributor Author

AltGr commented Feb 13, 2025

@AltGr AltGr merged commit 7cd2243 into master Feb 13, 2025
5 checks passed
@AltGr AltGr deleted the min-no-default branch February 13, 2025 12:28
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.

Make optional all the initial and default values on list operators
2 participants