lean4-htt/src/frontends/lean
Leonardo de Moura 6873400193 chore: remove silent | matchFailed support
Before this commit
```lean
pattern <- action
```
was being translated by the old frontend into
```lean
pattern <- action | matchFailed
```
This produced counterintuitive behavior, and performance problems when
tryin to synthesize `MonadFail` instances.
BTW, the new frontend does not implement this feature. I didn't even
remember the old frontend did this.
I will also remove the class `MonadFail` from stdlib.

cc @Kha @dselsam
2020-02-10 13:15:21 -08:00
..
brackets.cpp chore(frontends/lean): fun x, e ==> fun x => e 2019-07-02 13:22:11 -07:00
brackets.h
builtin_cmds.cpp Revert "fix: #eval redirection of stdout" 2020-01-25 16:32:06 +01:00
builtin_cmds.h
builtin_exprs.cpp chore: remove silent | matchFailed support 2020-02-10 13:15:21 -08:00
builtin_exprs.h
choice.cpp
choice.h
CMakeLists.txt chore: remove dead code 2019-11-14 15:24:18 -08:00
cmd_table.h chore(frontends/lean): fix clang++ warnings at C++ 2019-01-30 15:19:34 -08:00
decl_attributes.cpp chore: disable attribute features that are not currently being used 2020-01-08 15:49:55 -08:00
decl_attributes.h feat: allow attributes to be applied before elaboration 2019-11-13 15:40:19 -08:00
decl_cmds.cpp fix: syntax for universe parameters in axiom 2019-10-08 18:11:37 +02:00
decl_cmds.h feat(frontends/lean, library/init/lean): opaque constants 2019-03-15 17:41:44 -07:00
decl_util.cpp refactor: remove Expr.FVar hack 2019-11-15 14:04:26 -08:00
decl_util.h feat(frontends/lean): add simple parser! macro 2019-06-24 15:48:11 -07:00
definition_cmds.cpp fix: missing isUnsafe fieldat OpaqueVal 2019-12-30 11:53:08 -08:00
definition_cmds.h
elaborator.cpp chore: remove silent | matchFailed support 2020-02-10 13:15:21 -08:00
elaborator.h chore: remove silent | matchFailed support 2020-02-10 13:15:21 -08:00
inductive_cmds.cpp refactor: remove Expr.FVar hack 2019-11-15 14:04:26 -08:00
inductive_cmds.h
init_module.cpp chore(frontends/lean): delete lean_environment 2019-05-13 13:05:04 -07:00
init_module.h
json.cpp
json.h
local_context_adapter.cpp refactor: remove Expr.FVar hack 2019-11-15 14:04:26 -08:00
local_context_adapter.h
local_decls.h
local_level_decls.h
match_expr.cpp feat(library/init): use new "empty match" syntax 2019-07-15 16:25:14 -07:00
match_expr.h feat(frontends/lean): add new "empty/no match" syntax to old parser 2019-07-15 16:18:44 -07:00
notation_cmd.cpp chore(frontends/lean): compilation warnings 2019-06-27 08:00:48 -07:00
notation_cmd.h chore(frontends/lean): fix clang++ warnings at C++ 2019-01-30 15:19:34 -08:00
parse_table.cpp
parse_table.h chore(frontends/lean): fix clang++ warnings at C++ 2019-01-30 15:19:34 -08:00
parser.cpp fix: position information 2020-01-06 21:07:41 -08:00
parser.h feat: add new_frontend command 2020-01-06 20:44:53 -08:00
parser_config.cpp feat(kernel/environment): environment as a Lean object 2019-05-13 12:41:33 -07:00
parser_config.h
parser_pos_provider.h
parser_state.h
pp.cpp chore: prepare to rename old coe primitives 2020-01-28 08:18:56 -08:00
pp.h refactor: remove Expr.FVar hack 2019-11-15 14:04:26 -08:00
prenum.cpp
prenum.h
print_cmd.cpp chore(library,frontends/lean): remove old attribute manager 2019-06-27 14:01:34 -07:00
print_cmd.h chore(frontends/lean): fix clang++ warnings at C++ 2019-01-30 15:19:34 -08:00
scanner.cpp feat: add new_frontend command 2020-01-06 20:44:53 -08:00
scanner.h feat: add new_frontend command 2020-01-06 20:44:53 -08:00
simple_pos_info_provider.h feat(frontends/lean/vm_elaborator): recover from unknown identifiers 2019-02-07 14:16:28 +01:00
structure_cmd.cpp chore: remove dead code 2019-12-12 07:58:55 -08:00
structure_cmd.h
structure_instance.cpp
structure_instance.h
token_table.cpp feat: add new_frontend command 2020-01-06 20:44:53 -08:00
token_table.h
tokens.cpp chore(frontends/lean): fun x, e ==> fun x => e 2019-07-02 13:22:11 -07:00
tokens.h chore(frontends/lean): fun x, e ==> fun x => e 2019-07-02 13:22:11 -07:00
tokens.txt chore(frontends/lean): fun x, e ==> fun x => e 2019-07-02 13:22:11 -07:00
type_util.cpp chore(frontends/lean): compilation warnings 2019-06-27 08:00:48 -07:00
type_util.h chore(frontends/lean): fix clang++ warnings at C++ 2019-01-30 15:19:34 -08:00
typed_expr.cpp
typed_expr.h
util.cpp fix: new_frontend command issue 2020-01-15 20:53:23 -08:00
util.h refactor(util/sexpr/options): options as a Lean object 2019-05-16 14:27:44 -07:00