Ticket #3894 (closed bug: fixed)
UnicodeSyntax ellipsis character
|Reported by:||Roel van Dijk||Owned by:||simonmar|
|Type of failure:||Other||Difficulty:|
|Test Case:||Blocked By:|
The UnicodeSyntax extension allows the "⋯" character to be used instead of "..".
I think this is wrong. It should be the "…" character.
The documentation for UnicodeSyntax says two conflicting things about "..". For the Unicode alternative it shows the expected HORIZONTAL ELLIPSES character, but both the code point and the name refer to the MIDLINE variant. GHC only accepts code that uses the MIDLINE variant.
This leaves two options:
1. Fix the documentation to show the "⋯" MIDLINE variant under the Unicode variant column.
2. Change the ellipses alternative to "…" (U+2026) instead of "⋯" (U+22EF).
I personally prefer option 2. But according to Wikipedia the "…" character is for general use while the "⋯" character is for use in mathematics.