Zulip Chat Archive
Stream: general
Topic: no syntax error
Sebastien Gouezel (Oct 14 2023 at 08:26):
The following file doesn't generate any syntax error.
import Lean
universe u
Open Function Set
Note that I have misspellt Open
instead of open
, but this is not a problem since Lean thinks I am declaring a new universe (and in fact three new universes called Open
, Function
and Set
). Would it make sense to let universe
work just with a single line, to prevent stupid mistakes like this one? (Otherwise, you can go on adding nonsensical typos like Theorem foo
and Lean will still be happy).
Sebastian Ullrich (Oct 14 2023 at 08:49):
It could either be single line or indentation, which may work better for variable
as well. Please open an issue!
Sebastien Gouezel (Oct 14 2023 at 09:04):
Yaël Dillies (Oct 14 2023 at 09:39):
I would expect ColGt
to work better here.
Last updated: Dec 20 2023 at 11:08 UTC