-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Make blocks legal expressions evaluating to arrays #352
Conversation
@inthar-raven Assigning you as the reviewer based on your reaction on Discord. I would be inclined to change record syntax to This is mostly for conceptual consistency with blocks unrolling their contents onto the parent block which makes them look like arrays in a way. Unfortunately I couldn't find any practical uses for this feature in the prelude. |
abfe031
to
29525a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally, I like block expressions that evaluate to any type. (I don't know if that requires a stronger type system.) I think this is a good start for that.
29525a0
to
6eeda47
Compare
I can make |
No reaction to tweaking the record syntax further. I'm pretty sure we're adding sets as containers so maybe |
ref #351