diff options
author | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2017-07-08 17:12:59 +0200 |
---|---|---|
committer | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2017-11-27 19:31:49 +0100 |
commit | e4a09fc480f512f54d5e7ba05d7e408dc5817a46 (patch) | |
tree | 3ce040b7abb1860a3dc60aade92e454c121c355b /test-suite/output/Notations2.v | |
parent | 97960e114e72bc38814e78a71f06aca4fdfc4512 (diff) |
Selecting which notation to print based on current stack of scope.
See discussion on coq-club starting on 23 August 2016.
An open question: what priority to give to "abbreviations"?
Diffstat (limited to 'test-suite/output/Notations2.v')
-rw-r--r-- | test-suite/output/Notations2.v | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test-suite/output/Notations2.v b/test-suite/output/Notations2.v index ceb29d1b9..0dcb74652 100644 --- a/test-suite/output/Notations2.v +++ b/test-suite/output/Notations2.v @@ -70,6 +70,7 @@ Check let' f x y (a:=0) z (b:bool) := x+y+z+1 in f 0 1 2. (* Note: does not work for pattern *) Module A. Notation "f ( x )" := (f x) (at level 10, format "f ( x )"). +Open Scope nat_scope. Check fun f x => f x + S x. Open Scope list_scope. |