Sebastian Ullrich
|
95b317fa64
|
refactor(frontends/lean): do not hard code commands accepting attributes & modifiers
|
2017-06-19 11:09:26 -07:00 |
|
Leonardo de Moura
|
9d3c0497cb
|
chore(frontends/lean): rename transient commands
See issue #1432
|
2017-03-09 18:41:19 -08:00 |
|
Daniel Selsam
|
a9b01991c2
|
feat(frontends/lean/inductive_cmd): new frontend for the inductive cmd
Conflicts:
src/frontends/lean/CMakeLists.txt
src/frontends/lean/structure_cmd.h
|
2016-08-17 07:34: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
|
b5c4e603db
|
feat(frontends/lean): allow parameters to be used in sections
Restriction:
- coercions and notations cannot be defined in parametric sections
closes #401
|
2015-01-23 17:42:19 -08:00 |
|