[commit: ghc] master: Don't use "character" in haddocks of Char (effcd56)

git at git.haskell.org git at git.haskell.org
Sat Sep 30 15:17:27 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/effcd565b6be4f945d3913d561bba515381405ed/ghc

>---------------------------------------------------------------

commit effcd565b6be4f945d3913d561bba515381405ed
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Fri Sep 29 23:33:03 2017 -0400

    Don't use "character" in haddocks of Char
    
    Character is a terribly overloaded term and may refer to graphemes or
    code points. Specifically say that Char represents Unicode code points.
    
    [skip ci]
    
    Test Plan: Read it.
    
    Reviewers: hvr, austin
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D4051


>---------------------------------------------------------------

effcd565b6be4f945d3913d561bba515381405ed
 libraries/ghc-prim/GHC/Types.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/ghc-prim/GHC/Types.hs b/libraries/ghc-prim/GHC/Types.hs
index 3756c58..215f96c 100644
--- a/libraries/ghc-prim/GHC/Types.hs
+++ b/libraries/ghc-prim/GHC/Types.hs
@@ -122,7 +122,7 @@ data Ordering = LT | EQ | GT
 ********************************************************************* -}
 
 {- | The character type 'Char' is an enumeration whose values represent
-Unicode (or equivalently ISO\/IEC 10646) characters (see
+Unicode (or equivalently ISO\/IEC 10646) code points (i.e. characters, see
 <http://www.unicode.org/> for details).  This set extends the ISO 8859-1
 (Latin-1) character set (the first 256 characters), which is itself an extension
 of the ASCII character set (the first 128 characters).  A character literal in



More information about the ghc-commits mailing list