Feature suggestion: foo.recommends for spec functions, similar to foo.requires for exec functions
#1847
dschoepe
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
recommendsclauses provide a convenient way to express when the result of a spec function is meaningful. When proving theorems about suchspec fns, it would be useful to refer to itsrecommendsclause without repeating it. Similar functionality already exists for therequiresclauses of exec functions. This can be worked around by moving therecommendsclause into a separatespec fnand using it in both therecommendsclause and the theorem about it, but this is less ergonomic. Would this be a useful feature to add?(playground example)
Beta Was this translation helpful? Give feedback.
All reactions