From e6e4ee996be3c07cabb7dfa6b7a9d007a38cf317 Mon Sep 17 00:00:00 2001 From: ross Date: Mon, 9 Feb 2004 17:21:33 +0000 Subject: [PATCH] [project @ 2004-02-09 17:21:33 by ross] the H98 Report no longer says Char is 16 bits, plus a typo --- ghc/docs/users_guide/bugs.sgml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/ghc/docs/users_guide/bugs.sgml b/ghc/docs/users_guide/bugs.sgml index 3e2039e..3b1ec99 100644 --- a/ghc/docs/users_guide/bugs.sgml +++ b/ghc/docs/users_guide/bugs.sgml @@ -115,19 +115,6 @@ main = print (array (1,1) [(1,2), (1,3)]) - The Char type - Charsize - of - - The Haskell report says that the - Char type holds 16 bits. GHC follows - the ISO-10646 standard a little more closely: - maxBound :: Char in GHC is - 0x10FFFF. - - - - Arbitrary-sized tuples Tuples are currently limited to size 100. HOWEVER: @@ -147,7 +134,7 @@ main = print (array (1,1) [(1,2), (1,3)]) GHC's implementation of the Read class for integral types accepts - hexadeciaml and octal literals (the code in the Haskell + hexadecimal and octal literals (the code in the Haskell 98 report doesn't). So, for example, read "0xf00" :: Int works in GHC. @@ -168,6 +155,17 @@ main = print (array (1,1) [(1,2), (1,3)]) + The Char type + Charsize + of + + Following the ISO-10646 standard, + maxBound :: Char in GHC is + 0x10FFFF. + + + + Sized integral types Intsize of -- 1.7.10.4