Leonardo de Moura
|
81a30a69d2
|
refactor(library/normalize): remove unfold and unfold_full attributes
|
2016-09-05 08:40:58 -07:00 |
|
Sebastian Ullrich
|
8bbcbb14cf
|
chore(library, tests): use new attribute chaining syntax
sed -E -i 's/(attribute(\s*(\w|\.)+)* \[[^]]+)\] \[/\1, /' {library,tests}/**/*.lean # repeat as needed
|
2016-08-16 13:49:03 -07:00 |
|
Sebastian Ullrich
|
fd2c42a8bf
|
chore(library, tests): switch to new attribute declaration syntax
sed -Ei 's/^(\s*)((private |protected )?(noncomputable )?(abbreviation|definition|meta_definition|theorem|lemma|proposition|corollary)\s+\S+\s*)((\s*\[(\S+(\s+[0-9]+)*|priority.*)\])+)\s*/\1attribute \6\n\1\2/' library/**/*.lean tests/**/*.lean
sed -Ei 's/\s+$//' library/**/*.lean # remove trailing whitespace
|
2016-08-12 15:36:12 -07:00 |
|
Leonardo de Moura
|
c84e886c7b
|
fix(frontends/lean/notation_cmd): fixes #808
This commit and 2b1d2c fixes #808
|
2015-08-31 18:05:58 -10:00 |
|