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

where with final result at end #863

Open
evhub opened this issue Mar 4, 2025 · 0 comments
Open

where with final result at end #863

evhub opened this issue Mar 4, 2025 · 0 comments
Labels

Comments

@evhub
Copy link
Owner

evhub commented Mar 4, 2025

Possible syntaxes:

out = where:
    x1 = a + b + c
    x2 = x + y + z
    x1 + x2

out = do:
    x1 = a + b + c
    x2 = x + y + z
    x1 + x2

Which should compile to the equivalent of:

out = x1 + x2 where:
    x1 = a + b + c
    x2 = x + y + z
@evhub evhub added the feature label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant