lean4-htt/src/Lean/Parser
Kyle Miller 219f8214d3
feat: make let and have term syntaxes be consistent (#8914)
This PR modifies `let` and `have` term syntaxes to be consistent with
each other. Adds configuration options; for example, `have` is
equivalent to `let +nondep`, for *nondependent* lets. Other options
include `+usedOnly` (for `let_tmp`), `+zeta` (for `letI`/`haveI`), and
`+postponeValue` (for `let_delayed)`. There is also `let (eq := h) x :=
v; b` for introducing `h : x = v` when elaborating `b`. The `eq` option
works for pattern matching as well, for example `let (eq := h) (x, y) :=
p; b`.

Future PRs will add these options to tactic syntax, once a stage0 update
has been done.
2025-06-22 04:22:47 +00:00
..
Tactic feat: more infrastructure for tactic documentation (#4490) 2024-06-21 12:49:30 +00:00
Term feat: recommended_spelling command (#6869) 2025-02-03 11:15:52 +00:00
Attr.lean feat: more infrastructure for tactic documentation (#4490) 2024-06-21 12:49:30 +00:00
Basic.lean feat: := private instance syntax 2025-05-28 10:18:04 +02:00
Command.lean feat: allow structures to have non-bracketed binders (#8671) 2025-06-17 17:40:18 +00:00
Do.lean feat: make let and have term syntaxes be consistent (#8914) 2025-06-22 04:22:47 +00:00
Extension.lean feat: quotations for parser aliases (#4307) 2024-05-30 09:22:22 +00:00
Extra.lean chore: remove old documentation site (#7974) 2025-05-14 14:31:33 +00:00
Level.lean
Module.lean feat: meta syntax 2025-06-04 18:26:05 +02:00
StrInterpolation.lean feat: @[builtin_doc] attribute (part 2) (#3918) 2024-09-13 08:05:10 +00:00
Syntax.lean
Tactic.lean feat: Upstream MPL.SPred.* from mpl (#8745) 2025-06-20 15:13:40 +00:00
Term.lean feat: make let and have term syntaxes be consistent (#8914) 2025-06-22 04:22:47 +00:00
Types.lean feat: cleanup of get and back functions on List/Array (#7059) 2025-02-17 01:43:45 +00:00