lean2/tests/lean/run/local_notation.lean

12 lines
163 B
Text
Raw Normal View History

import logic
section
variables {A : Type}
variables f : A → A → A
infixl [local] `+++`:10 := f
variables a b c : A
check f a b
check a +++ b
end