From: ross Date: Mon, 9 Feb 2004 17:21:33 +0000 (+0000) Subject: [project @ 2004-02-09 17:21:33 by ross] X-Git-Tag: Approx_11550_changesets_converted~97 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=e6e4ee996be3c07cabb7dfa6b7a9d007a38cf317 [project @ 2004-02-09 17:21:33 by ross] the H98 Report no longer says Char is 16 bits, plus a typo --- 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