diff options
author | Anton Trunov <anton.a.trunov@gmail.com> | 2018-05-25 15:26:13 +0200 |
---|---|---|
committer | Anton Trunov <anton.a.trunov@gmail.com> | 2018-05-25 15:26:13 +0200 |
commit | 1ecd8d9bfca2863a86adc833d634c3f02fdc14a8 (patch) | |
tree | aea55009d6ea093ff68cadcf8659679605d89327 /doc/sphinx/proof-engine/tactics.rst | |
parent | da49e86de39f8d9ed8709905e63cf442745a904f (diff) |
Fix notation for code snippet in documentation
It failed to compile before because the type arguments were declared implicit after introducing the notation
Diffstat (limited to 'doc/sphinx/proof-engine/tactics.rst')
-rw-r--r-- | doc/sphinx/proof-engine/tactics.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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))`. |