You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, imagine I have a class that represents some bounds on something, and it has a lower bound and an upper bound. If I want to make sure lower bound is less than upper bound, I must use a tuple field.
It might be convenient in this case, and in others, to be able to specify an invariant for the class itself, and that invariant can access multiple fields.
The text was updated successfully, but these errors were encountered:
For example, imagine I have a class that represents some bounds on something, and it has a lower bound and an upper bound. If I want to make sure lower bound is less than upper bound, I must use a tuple field.
It might be convenient in this case, and in others, to be able to specify an invariant for the class itself, and that invariant can access multiple fields.
The text was updated successfully, but these errors were encountered: