-
Notifications
You must be signed in to change notification settings - Fork 17
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
Allow with syntax. #22
Comments
One of the first real projects I had with MistQL made it so that "with" syntax was extremely necessary. I'm probably gonna formalize this and add it because not having it seems to be a major issue. 2 possible styles:
Additionally i need to determine how it binds with other things, and whether there's a better way to tackle ambiguity like this. |
With pipes propagating values, you can do this with something like:
Still awkward but certainly better than nothing, and certainly good enough the time being. |
Probably gonna keep this out of the language for the time being. Unless the idiom Even better, if #110 gets adopted, then the idiom becomes |
We might want let syntax, via
with [expression] as [identifier] in [expression]
. This'll be a bit of a journey to get though, so not immediately available.The text was updated successfully, but these errors were encountered: