File: bug_4712.v

package info (click to toggle)
coq 8.20.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 44,116 kB
  • sloc: ml: 234,160; sh: 4,301; python: 3,270; ansic: 2,644; makefile: 882; lisp: 172; javascript: 63; xml: 24; sed: 2
file content (14 lines) | stat: -rw-r--r-- 384 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Module Example1.

Notation "x =_s y" := (x = y) (at level 50).
Fail Check id=_sid.

End Example1.

Module Example2.
(* see https://coq.zulipchat.com/#narrow/stream/237664-math-comp-users/topic/Surprising.20parsing.20of.20the.20.E2.80.9C*l.E2.80.9D.20notation *)

Notation "*l" := Nat.add.
Check forall (T lT: Type) (x: T*lT), x = x. (* Expected to be "(x : T * lT)" *)

End Example2.