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
DeclareScope foo_scope.
DelimitScope foo_scope with foo.
Notation "'FOO'" := tt : foo_scope.
Arguments id {_} _%foo.
Notation "'id2' x" := x%foo (at level 10, only parsing).
Check id FOO. (* id FOO : unit *)FailCheck id (fun x : unit => FOO). (* Error: Unknown interpretation for notation "FOO". *)Check id2 FOO. (* FOO%foo : unit *)Check id2 (fun x : unit => FOO). (* fun _ : unit => FOO%foo : unit -> unit *)
As far as I know, there's no way to get the Arguments-sort of behavior for Notation, and no way to get the Notation-sort of behavior for Arguments.
cc @herbelin , who I believe had a plan for implementing this?
See also #3990 (where I reported my initial confusion about this)
Coq Version
8.11.1
The text was updated successfully, but these errors were encountered:
See #9123. This was stalled by lack of a good transition strategy. Maybe worth to reconsider it again though. It also comes to the surface back again in #11762.
Description of the problem
Consider:
As far as I know, there's no way to get the
Arguments
-sort of behavior forNotation
, and no way to get theNotation
-sort of behavior forArguments
.cc @herbelin , who I believe had a plan for implementing this?
See also #3990 (where I reported my initial confusion about this)
Coq Version
8.11.1
The text was updated successfully, but these errors were encountered: