1 {-# OPTIONS -fno-implicit-prelude #-}
2 -----------------------------------------------------------------------------
5 -- Copyright : (c) The University of Glasgow 2001
6 -- License : BSD-style (see the file libraries/base/LICENSE)
8 -- Maintainer : libraries@haskell.org
9 -- Stability : provisional
10 -- Portability : portable
12 -- The Char type and associated operations.
14 -----------------------------------------------------------------------------
20 , isAscii, isLatin1, isControl
21 , isPrint, isSpace, isUpper
22 , isLower, isAlpha, isDigit
23 , isOctDigit, isHexDigit, isAlphaNum -- :: Char -> Bool
25 , toUpper, toLower -- :: Char -> Char
27 , digitToInt -- :: Char -> Int
28 , intToDigit -- :: Int -> Char
30 , ord -- :: Char -> Int
31 , chr -- :: Int -> Char
32 , readLitChar -- :: ReadS Char
33 , showLitChar -- :: Char -> ShowS
34 , lexLitChar -- :: ReadS String
38 -- Implementation checked wrt. Haskell 98 lib report, 1/99.
41 #ifdef __GLASGOW_HASKELL__
44 import GHC.Read (readLitChar, lexLitChar)
53 import Prelude(Char,String)