feat(frontends/lean): local notation override global one

This commit is contained in:
Leonardo de Moura 2015-04-21 19:55:59 -07:00
parent 8e9997e253
commit 22f6a95cc4
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ namespace category
!is_trunc_eq
end basic_lemmas
context squares
section squares
parameters {ob : Type} [C : precategory ob]
local infixl `⟶`:25 := @precategory.hom ob C
local infixr `∘` := @precategory.comp ob C _ _ _

View file

@ -711,7 +711,7 @@ static environment dispatch_notation_cmd(parser & p, bool overload, bool reserve
}
environment local_notation_cmd(parser & p) {
bool overload = !in_context(p.env());
bool overload = false; // REMARK: local notation override global one
bool reserve = false;
bool persistent = false;
return dispatch_notation_cmd(p, overload, reserve, persistent);