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

Allow arbitrary expressions in loop bounds #69

Open
effectfully opened this issue Apr 13, 2020 · 1 comment
Open

Allow arbitrary expressions in loop bounds #69

effectfully opened this issue Apr 13, 2020 · 1 comment
Assignees

Comments

@effectfully
Copy link
Owner

Currently we have Integer there. We should allow arbitrary Expr, but keep the semantics: the compiler will throw an error if such an Expr doesn't evaluate to a constant statically.

This was referenced Apr 13, 2020
@jakzale
Copy link
Collaborator

jakzale commented Jun 3, 2020

After fixing #54 by merging #77 we could provide a straightforward implementation using #76 and requiring that loop bounds are typeable without any external dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants