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

? : should be lazy, should be a match expression and not a feature call. #2281

Closed
fridis opened this issue Dec 2, 2023 · 1 comment
Closed
Labels
enhancement New feature or request Fuzion language related to the language, syntax, etc

Comments

@fridis
Copy link
Member

fridis commented Dec 2, 2023

This small example shold not print rhs:

 > echo 'true ? {say "lhs"; unit} : {say "rhs"; unit}' | $FUZION/bin/fz -
lhs
rhs

Ideally, we should remove ? : and make a match expression powerful enough to cover this case.

@fridis fridis added enhancement New feature or request Fuzion language related to the language, syntax, etc labels Dec 2, 2023
@fridis
Copy link
Member Author

fridis commented Jul 22, 2024

This is a duplicate of #3330.

@fridis fridis closed this as completed Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Fuzion language related to the language, syntax, etc
Projects
None yet
Development

No branches or pull requests

1 participant