-
Notifications
You must be signed in to change notification settings - Fork 57
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
Remove usages of ≔ and replace those with := #1465
Comments
We decided to remove all the Unicode input from the examples and the standard without removing support for typing them. |
They unicode ≔ is still present in the examples. |
In fact, I would advocate removing ≔ and the unicode cons ∷ entirely. I don't see the point of having a unicode symbol which is supposed to look exactly like a combination of two ASCII characters. What is gained here except for confusion? With lambda, forall, etc, even arrow, one can argue that unicode is more concise and corresponds more closely to the mathematical symbols one really wants to represent, which makes the text more readable (though not necessarily writable without substantial IDE support). Those symbols can't be represented faithfully with ASCII characters. But ≔ and ∷ ? They are supposed to look exactly or almost exactly like := and ::, so what's the point? The ≔ is even worse than ∷ in this respect, because with many fonts it actually looks almost like "=" not ":=", which only adds to the confusion. |
Btw, I like the way Lean introduces unicode, how unicode is used, and the general feel of the syntax: https://leanprover.github.io/theorem_proving_in_lean4/dependent_type_theory.html#simple-type-theory |
(originally by @james-chf)
The text was updated successfully, but these errors were encountered: