#3894: UnicodeSyntax ellipsis character
---------------------------------+------------------------------------------
    Reporter:  Roel van Dijk     |       Owner:          
        Type:  bug               |      Status:  new     
    Priority:  normal            |   Component:  Compiler
     Version:  6.12.1            |    Keywords:          
          Os:  Unknown/Multiple  |    Testcase:          
Architecture:  Unknown/Multiple  |     Failure:  Other   
---------------------------------+------------------------------------------
 The !UnicodeSyntax extension allows the "⋯" character to be used instead
 of "..".

 I think this is wrong. It should be the "…" character.

 The [http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-
 extns.html#unicode-syntax 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
 [http://en.wikipedia.org/wiki/Ellipsis#Computer_representations according
 to Wikipedia] the "…" character is for general use while the "⋯" character
 is for use in mathematics.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3894>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to