After this commit, `(+)` is notation for (add) instead of `(fun x y, add x y)`. This change is relevant when defining type class instances such as ```lean instance semigroup_to_is_associative [semigroup α] : is_associative α (*) := ⟨mul_assoc⟩ ```
5 lines
79 B
Text
5 lines
79 B
Text
constant f : Π {α : Type}, α → α → α
|
||
|
||
infix `**`:60 := f
|
||
|
||
#check (**)
|