Skip to content

UnicodeSyntax ellipsis character

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.

Trac metadata
Trac field Value
Version 6.12.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information