sed -E -i 's/(attribute(\s*(\w|\.)+)* \[[^]]+)\] \[/\1, /' {library,tests}/**/*.lean # repeat as needed
11 lines
186 B
Text
11 lines
186 B
Text
namespace bla
|
|
section
|
|
private definition foo : inhabited Prop :=
|
|
inhabited.mk false
|
|
|
|
attribute foo [instance, priority 1000]
|
|
|
|
example : default Prop = false :=
|
|
rfl
|
|
end
|
|
end bla
|