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
Indeed, writing Equality.on (nat * nat) will mistakenly interpret * as being the natural number multiplication instead of the cartesian product. The same goes for Build.
We should use the scope given by the type of the argument, and allow manual overriding from the user.
The only design choice to make is how to pass the info to
coq.notation.add-abbreviation "foo" 3 {{ fun x y z => term }} OnlyParsing Abbrev
since the types of x y z are currently ignored, we could use them, but how to encode a scope name there is unclear.
maybe a scope : string -> Type constant and write
Indeed, writing
Equality.on (nat * nat)
will mistakenly interpret*
as being the natural number multiplication instead of the cartesian product. The same goes for Build.We should use the scope given by the type of the argument, and allow manual overriding from the user.
Spotted by @ggonthier
The text was updated successfully, but these errors were encountered: