1 {-# OPTIONS -fno-implicit-prelude #-}
2 -----------------------------------------------------------------------------
5 -- Copyright : (c) The University of Glasgow 2001
6 -- License : BSD-style (see the file libraries/core/LICENSE)
8 -- Maintainer : libraries@haskell.org
9 -- Stability : provisional
10 -- Portability : portable
12 -- $Id: Char.hs,v 1.1 2001/06/28 14:15:02 simonmar Exp $
14 -- The Char type and associated operations.
16 -----------------------------------------------------------------------------
22 , isAscii, isLatin1, isControl
23 , isPrint, isSpace, isUpper
24 , isLower, isAlpha, isDigit
25 , isOctDigit, isHexDigit, isAlphaNum -- :: Char -> Bool
27 , toUpper, toLower -- :: Char -> Char
29 , digitToInt -- :: Char -> Int
30 , intToDigit -- :: Int -> Char
32 , ord -- :: Char -> Int
33 , chr -- :: Int -> Char
34 , readLitChar -- :: ReadS Char
35 , showLitChar -- :: Char -> ShowS
36 , lexLitChar -- :: ReadS String
40 -- Implementation checked wrt. Haskell 98 lib report, 1/99.
43 #ifdef __GLASGOW_HASKELL__
46 import GHC.Read (readLitChar, lexLitChar, digitToInt)