Allow the use of order-dependence to disambiguate symbol variants
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 53
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Let me first say: This is not a proposal to make symbol names order-dependent in general. Only variants where order is needed for disambiguation would be order-dependent.
Currently, ⪋ and ⪌ are lt.gt.equiv and gt.lt.equiv. However, the symbols ⪑ and ⪒ also exist, but have not yet been named. In order to name these in our current scheme, one would need to invent yet more unnatural modifiers.
With this proposal, we would be able to distinguish between
lt.equiv.gt ⪋
lt.gt.equiv ⪑
gt.equiv.lt ⪌
gt.lt.equiv ⪒
It would also enable https://github.com/typst/codex/pull/75 without abusing submodules, assuming we also get https://github.com/typst/codex/issues/94.
(Not to mention there are examples of current naming that could potentially be improved with this proposal, such as for arrows.)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the current symbol-naming scheme, then compare this proposal with codex#94 and pull request #75. Done means determining whether order-dependent names can distinguish ⪋, ⪑, ⪌, and ⪒ without making names order-dependent in general, and assessing the mentioned arrow examples.
Written by the indexing model from the issue text.
Assessment
- Domain
- content
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100