-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support non-map print() #1381
Support non-map print() #1381
Conversation
2fedd7a
to
03c4b16
Compare
Looks very useful. I found some issues:
Consulting the generated IR, it seems this is the same bug as #1332. The buffer holding the result of
|
Looks good, the synchronous part got me a bit confused tho, I think it needs some clarification to not confuse users.
Ugh this seems to bite us everywhere now. I need to get it finshed |
This will help keep logic between printing maps and non-map types separate.
Ok, will leave that alone for now. I'll try to take a look if I get time.
Fixed. Forgot to exclude
Updated. Now reads:
|
LGTM, should we squash this or leave it as is? |
I'll squash; commits only seem useful for code review |
This implements non-map prints as described in #356.
Note that non-map
print()
s are synchronous, meaning they do notwork the same as map
print()
s. I think this is a pretty nice feature.Example:
We have a growing number of types in the type system so I may have
missed a corner case somewhere. I think I got most of it right, though.
This closes #356.
Checklist
docs/reference_guide.md
CHANGELOG.md