From 1ecd8d9bfca2863a86adc833d634c3f02fdc14a8 Mon Sep 17 00:00:00 2001 From: Anton Trunov Date: Fri, 25 May 2018 15:26:13 +0200 Subject: Fix notation for code snippet in documentation It failed to compile before because the type arguments were declared implicit after introducing the notation --- doc/sphinx/proof-engine/tactics.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/sphinx/proof-engine/tactics.rst') diff --git a/doc/sphinx/proof-engine/tactics.rst b/doc/sphinx/proof-engine/tactics.rst index da4c3f9d7..1b9898c62 100644 --- a/doc/sphinx/proof-engine/tactics.rst +++ b/doc/sphinx/proof-engine/tactics.rst @@ -2867,8 +2867,8 @@ the conversion in hypotheses :n:`{+ @ident}`. .. coqtop:: all Definition fcomp A B C f (g : A -> B) (x : A) : C := f (g x). - Notation "f \o g" := (fcomp f g) (at level 50). Arguments fcomp {A B C} f g x /. + Notation "f \o g" := (fcomp f g) (at level 50). After that command the expression :g:`(f \o g)` is left untouched by ``simpl`` while :g:`((f \o g) t)` is reduced to :g:`(f (g t))`. -- cgit v1.2.3