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

Library functions for property checks #58

Open
heueristik opened this issue Nov 7, 2024 · 0 comments
Open

Library functions for property checks #58

heueristik opened this issue Nov 7, 2024 · 0 comments
Assignees

Comments

@heueristik
Copy link
Collaborator

heueristik commented Nov 7, 2024

See the post by @cwgoes in

I propose [...] that we create some abstractions / standard library functions around the common case of “a resource must be created which is exactly the same as a resource consumed except for difference X”, where in this case X is that the counter value is incremented by one. If such options are obvious and recommended to developers, it is much more difficult to screw up by mistake (since what the developer specifies is what is allowed to change, not what is not allowed to change - if they forget something, the system is still safe if perhaps no longer live). In general, in our standard library and developer interface design, we should err on the side of safety in this way.

https://research.anoma.net/t/should-the-rm-support-independently-balance-checked-actions/852.

@heueristik heueristik changed the title Standard library functions for property checks Library functions for property checks Nov 7, 2024
@heueristik heueristik self-assigned this Nov 7, 2024
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