Conversation
|
I really don't see the issue with having no top level symbol. Naming will always be a result of compromises. If someone truly wishes to write |
|
I think the change I would like instead is to change Of course as of now those would not be accessible in Typst math, but I think it may be sensible to allow the base identifier of a field access to be a single letter in math (the same way the identifier after the period can already be a single letter). @isuffix thoughts? |
|
I think single letter identifiers would be a bad idea. Something like would now presumably be a syntax error. Your examples could (almost) equally well be |
Well, |
|
Fair enough, but I still strongly dislike the idea. |
|
Well, I strongly dislike having things that work like modifiers before the base symbol name. It's the opposite of consistent. |
It's impossible to achieve complete consistency. That's why I mentioned compromises above. And even if you could achieve perfect consistency, that may not necessarily be the most usable option. |
|
I also think single-letter identifiers are probably a bad idea and that @Enivex I can see that the current state can seem no big deal but is there a downside to the proposed change (other than breaking the code of someone that writes |
A single letter can already be interpreted as an identifier, such as |
This makes more conceptual sense to me, since
dotlesson its own is meaningless.This is a breaking change, so three approvals are necessary.
Note that there is no way to do a deprecation for this, but I don't think anyone was using
dotlesswithout modifiers anyway.