lean4-htt/src/Lean
Leonardo de Moura d0ade7ff08 feat: extend doBlock expander
- Add support for `if h:c then t else e`, `h` may shadow reassignable
variables

- Pattern variables in `match` alternatives may shadow reassignable
variables

- A single declaration/reassignment in a `do` block may
declare/reassign multiple variables. Example: `let (x, y) := t`
2020-10-01 10:40:55 -07:00
..
Compiler fix: bad message 2020-09-25 18:48:23 -07:00
Data fix: NameSet.insert return type 2020-09-29 07:59:22 -07:00
Elab feat: extend doBlock expander 2020-10-01 10:40:55 -07:00
Meta refactor: export Core.mkFreshUserName to Lean namespace 2020-09-30 11:21:46 -07:00
Parser chore: let rec in do blocks 2020-10-01 10:40:11 -07:00
ParserCompiler feat: add Lean.MonadEnv, Lean.MonadError, and Lean.MonadOptions 2020-08-22 16:00:43 -07:00
PrettyPrinter feat: sanitize Syntax in messages 2020-09-29 07:59:22 -07:00
Server chore: go back to previous bootstrapping scheme where the stage N+1 stdlib is created using the stage N compiler 2020-09-24 18:57:53 +02:00
Util feat: sanitize Syntax in messages 2020-09-29 07:59:22 -07:00
Attributes.lean feat: add AttrM 2020-09-21 16:44:20 -07:00
AuxRecursor.lean chore: remove prelude commands from Lean package 2020-06-25 11:21:17 -07:00
Class.lean feat: add Lean.MonadEnv, Lean.MonadError, and Lean.MonadOptions 2020-08-22 16:00:43 -07:00
Compiler.lean chore: remove prelude commands from Lean package 2020-06-25 11:21:17 -07:00
CoreM.lean refactor: export Core.mkFreshUserName to Lean namespace 2020-09-30 11:21:46 -07:00
Declaration.lean feat: addAndCompileNonRec 2020-09-05 08:32:56 -07:00
Delaborator.lean fix: pretty printing multiple universe levels 2020-09-25 20:06:18 +02:00
Elab.lean chore: rename file 2020-09-26 12:33:11 -07:00
Environment.lean refactor: seal EnvExtension type 2020-09-21 12:24:44 -07:00
Eval.lean feat: replace OS-specific stream redirection with pure-Lean Stream redirection 2020-08-28 10:04:32 -07:00
Exception.lean refactor: remove MonadError 2020-09-18 09:58:13 -07:00
Expr.lean feat: add replaceFVars 2020-09-22 14:24:03 -07:00
HeadIndex.lean chore: remove prelude commands from Lean package 2020-06-25 11:21:17 -07:00
Hygiene.lean feat: sanitize Syntax in messages 2020-09-29 07:59:22 -07:00
InternalExceptionId.lean feat: uniform Exceptions 2020-08-21 17:02:21 -07:00
KeyedDeclsAttribute.lean fix: fixes #175 2020-09-21 17:12:07 -07:00
Level.lean feat: updateResultingUniverse 2020-07-15 16:32:22 -07:00
Linter.lean chore: remove prelude commands from Lean package 2020-06-25 11:21:17 -07:00
LocalContext.lean feat: sanitize Syntax in messages 2020-09-29 07:59:22 -07:00
Message.lean feat: sanitize Syntax in messages 2020-09-29 07:59:22 -07:00
Meta.lean feat: add Meta.forEachExpr 2020-09-23 18:24:56 -07:00
MetavarContext.lean fix: horrible error message due to constApprox := true 2020-09-29 07:54:48 -07:00
Modifiers.lean chore: remove prelude commands from Lean package 2020-06-25 11:21:17 -07:00
MonadEnv.lean refactor: move withoutModifyingEnv to MonadEnv 2020-09-25 06:48:51 -07:00
Parser.lean feat: add doElem parser category 2020-09-26 06:18:44 -07:00
ParserCompiler.lean feat: add AttrM 2020-09-21 16:44:20 -07:00
PrettyPrinter.lean feat: sanitize Syntax in messages 2020-09-29 07:59:22 -07:00
ProjFns.lean fix: do not assume the prefix of a projection function name is the structure name 2020-07-16 11:10:20 -07:00
ReducibilityAttrs.lean chore: remove prelude commands from Lean package 2020-06-25 11:21:17 -07:00
Runtime.lean chore: remove prelude commands from Lean package 2020-06-25 11:21:17 -07:00
Scopes.lean fix: old&new frontend interference 2020-09-20 08:25:45 -07:00
Server.lean refactor: move ppExpr to IO 2020-09-15 18:48:21 -07:00
Structure.lean feat: add Meta.mkProjection 2020-07-20 16:01:36 -07:00
Syntax.lean refactor: move Lean.quote to LeanInit 2020-09-17 08:15:58 -07:00
ToExpr.lean chore: remove prelude commands from Lean package 2020-06-25 11:21:17 -07:00
Util.lean feat: add Expr.forEach 2020-09-08 13:03:53 -07:00