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

Packing records? #141

Open
mtzguido opened this issue Jul 8, 2024 · 0 comments
Open

Packing records? #141

mtzguido opened this issue Jul 8, 2024 · 0 comments

Comments

@mtzguido
Copy link
Member

mtzguido commented Jul 8, 2024

From call today: can we add some syntax like pack {x=e;y=f} as r, that elaborates to something like let r = {x=e; y=f}; rewrite each e as r.x; rewrite f as r.y; to comfortably use records? Or would it be enough to define a packing function for each given type? The latter alternative would not do any rewrite in the frame.

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

No branches or pull requests

1 participant