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

Feature request: Type by class with private memory #5169

Open
MikaelMayer opened this issue Mar 8, 2024 · 0 comments
Open

Feature request: Type by class with private memory #5169

MikaelMayer opened this issue Mar 8, 2024 · 0 comments
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny part: language definition Relating to the Dafny language definition itself

Comments

@MikaelMayer
Copy link
Member

I would love to see this:

type X {
  // interface
} by class {
  // implementation by private variables
}

See the RFC here, where I prove how it's possible to make certain parts of the memory private.

https://github.com/dafny-lang/rfcs/pull/14/files

@keyboardDrummer keyboardDrummer added kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny part: language definition Relating to the Dafny language definition itself labels Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny part: language definition Relating to the Dafny language definition itself
Projects
None yet
Development

No branches or pull requests

2 participants