Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nested anonymous constructor syntax #227

Open
nomeata opened this issue Jan 6, 2025 · 0 comments
Open

nested anonymous constructor syntax #227

nomeata opened this issue Jan 6, 2025 · 0 comments
Labels
doc-request Request for missing documenation

Comments

@nomeata
Copy link
Contributor

nomeata commented Jan 6, 2025

Reading the section https://lean-lang.org/doc/reference/latest/The-Type-System/Inductive-Types/#anonymous-constructor-syntax left me wonder about the feature where one can omit the nesting of these constructors, at least sometimes?

(If it is documented elsewhere a pointer from this section would help.)

I noticed this while discussing leanprover/lean4#6555.

@nomeata nomeata added the doc-request Request for missing documenation label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-request Request for missing documenation
Projects
None yet
Development

No branches or pull requests

1 participant