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

Comparison chain a<b<c #11

Closed
tmteam opened this issue Jan 10, 2022 · 1 comment
Closed

Comparison chain a<b<c #11

tmteam opened this issue Jan 10, 2022 · 1 comment
Assignees
Labels
Syntax Syntactic and semantic improvements and sugars What if? [Candidate]

Comments

@tmteam
Copy link
Owner

tmteam commented Jan 10, 2022

Simplified syntax for the case when there are several comparison operations connected via And, which involve the same arguments.

# Was

a<b and b<c and c<d

# became

a<b<c<d

Provide support for operations <, >, <=, >=

if(a>b<c) ...
if( a<= b >= c)...

@tmteam
Copy link
Owner Author

tmteam commented May 30, 2022

This task depends on syntax of #46
because if we take a syntax for generic argument types - then this feature has to be canceled

@tmteam tmteam removed this from the First release milestone May 30, 2022
@tmteam tmteam added Syntax Syntactic and semantic improvements and sugars and removed enhancement labels May 30, 2022
tmteam added a commit that referenced this issue Feb 4, 2023
@tmteam tmteam self-assigned this Feb 4, 2023
tmteam added a commit that referenced this issue Feb 5, 2023
tmteam added a commit that referenced this issue Feb 5, 2023
tmteam added a commit that referenced this issue Feb 6, 2023
tmteam added a commit that referenced this issue Feb 6, 2023
tmteam added a commit that referenced this issue Feb 6, 2023
tmteam added a commit that referenced this issue Feb 6, 2023
@tmteam tmteam closed this as completed Feb 6, 2023
tmteam added a commit that referenced this issue Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Syntax Syntactic and semantic improvements and sugars What if? [Candidate]
Projects
None yet
Development

No branches or pull requests

1 participant