sed -E -i 's/(attribute(\s*(\w|\.)+)* \[[^]]+)\] \[/\1, /' {library,tests}/**/*.lean # repeat as needed
11 lines
214 B
Text
11 lines
214 B
Text
notation 1 := eq
|
|
|
|
postfix `x`:(max+1) := eq
|
|
|
|
postfix [priority 1] `y`:max := eq
|
|
|
|
attribute [instance, priority 1]
|
|
definition foo : inhabited nat := inhabited.mk nat.zero
|
|
|
|
attribute [unfold 1]
|
|
definition bar := @eq
|