-
Notifications
You must be signed in to change notification settings - Fork 63
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 for newtypes #1256
Comments
I think this has been done for some time now. |
We have an internal example where record selection to project from a |
Are you able to minimize the example? |
Just finished doing that. Here you go. Say you have the following in
Then running |
Ah, I see. The record selector code is type-driven and doesn't know what to do for newtypes. That shouldn't be too hard to fix. |
Following the merge of GaloisInc/cryptol#1015, we need to add support for newtypes to
cryptol-saw-core
.As a first pass, we will simply erase newtypes. They don't satisfy any typeclass constraints, so that part of the translation should be easy.
The text was updated successfully, but these errors were encountered: