Skip to content

Define a common Validatable trait #319

@robin-aws

Description

@robin-aws

In all my experimentation with creating an "external invariant" in order to allow a subset of preconditions and postconditions on external methods, the idea of a generic trait that defines the Valid() predicate seems to be a necessary piece of the puzzle.

I have a version that seems to work well which we should be able to apply to the ESDK ahead of time, which will help establish this idiom better for new Dafny programmers, reduce some code duplication, and make some progress towards the eventual solution for #165.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions