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

Use existential trick to define pattern synonym instead? #67

Open
edsko opened this issue Mar 15, 2022 · 0 comments
Open

Use existential trick to define pattern synonym instead? #67

edsko opened this issue Mar 15, 2022 · 0 comments
Labels
enhancement New feature or request large-records

Comments

@edsko
Copy link
Collaborator

edsko commented Mar 15, 2022

I'm not sure if it's possible, but perhaps we can use the existential types trick to instead define a pattern synonym without generating all accessors (without relying on NoFieldSelectors). If this is possible, this might avoid some copying at runtime; currently updating a field implies copying the record to a vector, then updating the vector, then copying back.

This might be in slight tension with #66 .

@edsko edsko added the enhancement New feature or request label Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request large-records
Projects
None yet
Development

No branches or pull requests

1 participant