lean4-htt/src
Kyle Miller c60f97a3fa
feat: allow field notation to use explicit universe levels (#13262)
This PR extends Lean's syntax to allow explicit universe levels in
expressions such as `e.f.{u,v}`, `(f e).g.{u}`, and `e |>.f.{u,v} x y
z`. It fixes a bug where universe levels would be attributed to the
wrong expression; for example `x.f.{u}` would be interpreted as
`x.{u}.f`. It also changes the syntax of top-level declarations to not
allow space between the identifier and the universe level list, and it
fixes a bug in the `checkWsBefore` parser where it would not detect
whitespace across `optional` parsers.

Closes #8743
2026-04-09 13:29:10 +00:00
..
bin
cmake
include/lean
Init feat: require indentation in commands, allow empty tactic sequences (#13229) 2026-04-08 14:05:47 +00:00
initialize
kernel
lake fix: lake: report bad imports from a library build (#13340) 2026-04-09 04:03:52 +00:00
Lean feat: allow field notation to use explicit universe levels (#13262) 2026-04-09 13:29:10 +00:00
library
runtime
shell
Std
util
cadical.mk
CMakeLists.txt
config.h.in
githash.h.in
Init.lean
lakefile.toml.in chore: use weakLeanArgs for Lake plugin (#13335) 2026-04-09 00:02:39 +00:00
lean-toolchain
Lean.lean
lean.mk.in
Leanc.lean
LeanChecker.lean
LeanIR.lean
out
Std.lean
stdlib.make.in
stdlib_flags.h
version.h.in