lean2/tests/lean/implicit6.lean

11 lines
193 B
Text
Raw Normal View History

Variable f {A : Type} : A -> A -> A
Infixl 65 + : f
Show true + false
Show 10 + 20
Show 10 + (- 20)
Set pp::notation false
Set pp::coercion true
Show true + false
Show 10 + 20
Show 10 + (- 20)