From bcf676058b8295bd7e811629c69be46f2aaa8e4e Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 28 Mar 2001 15:16:32 +0000 Subject: [PATCH] [project @ 2001-03-28 15:16:32 by simonmar] maxBound :: Char is 0x10ffff now. --- ghc/tests/lib/should_run/enum01.stdout | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ghc/tests/lib/should_run/enum01.stdout b/ghc/tests/lib/should_run/enum01.stdout index 8e5dfc3..e7ccd6b 100644 --- a/ghc/tests/lib/should_run/enum01.stdout +++ b/ghc/tests/lib/should_run/enum01.stdout @@ -62,11 +62,11 @@ Testing Enum Char: (succ (minBound::Char)) = '\SOH' (succ (maxBound::Char)) = error "Prelude.Enum.Char.succ: bad argument" (pred 'b') = 'a' - pred (maxBound::Char) = '\2147483646' + pred (maxBound::Char) = '\1114110' pred (minBound::Char) = error "Prelude.Enum.Char.pred: bad argument" - (map (toEnum::Int->Char) [123,ord (minBound::Char), ord(maxBound::Char)]) = "{\NUL\2147483647" + (map (toEnum::Int->Char) [123,ord (minBound::Char), ord(maxBound::Char)]) = "{\NUL\1114111" (toEnum::Int->Char) (minBound::Int) = error "Prelude.chr: bad argument" - (map fromEnum ['X',minBound,maxBound]) = [88,0,2147483647] + (map fromEnum ['X',minBound,maxBound]) = [88,0,1114111] (take 7 ['\NUL' .. ]) = "\NUL\SOH\STX\ETX\EOT\ENQ\ACK" (take 7 ['\250' .. ]) = "\250\251\252\253\254\255\256" (take 7 ['a','b'..]) = "abcdefg" -- 1.7.10.4