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
In usual Coq development, it is often useful to annotate a variable with its type (for better readability, error localization, better inference, etc), like:
Check (exists n, n = 0).
Check (exists (n: Z), n = 0).
Can we do similar thing with bind notation? like:
Check (x <- Ret tt ;; Ret x).
Check ((x: unit) <- Ret tt; Ret x).
My current workaround is like this:
Check (x <- Ret tt ;; let _ := x: unit in Ret x).
The text was updated successfully, but these errors were encountered:
In usual Coq development, it is often useful to annotate a variable with its type (for better readability, error localization, better inference, etc), like:
Can we do similar thing with bind notation? like:
My current workaround is like this:
The text was updated successfully, but these errors were encountered: