Equality of tags? #10

Open
opened 2023-10-01 18:45:53 +02:00 by bortzmeyer · 0 comments
Owner

Currently, the type Tag derives Eq so you can compare two tags with == . But it is broken since, for instance, it is case-sensitive. We should instead override Eq (not easy because Tag is complex).
Also, semantic issue: Are fr-Latn and fr identical (since fr has a Suppress-script)? If we say yes, this means equality will require the registry.

Currently, the type Tag derives Eq so you can compare two tags with `==` . But it is broken since, for instance, it is case-sensitive. We should instead override Eq (not easy because Tag is complex). Also, semantic issue: Are `fr-Latn` and ` fr` identical (since ` fr` has a ` Suppress-script`)? If we say yes, this means equality will require the registry.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bortzmeyer/GaBuZoMeu#10
No description provided.