[project @ 1999-05-18 14:59:04 by simonpj]
[ghc-hetmet.git] / ghc / lib / std / Char.lhs
1 %
2 % (c) The AQUA Project, Glasgow University, 1994-1999
3 %
4
5 \section[Char]{Module @Char@}
6
7 \begin{code}
8 {-# OPTIONS -fno-implicit-prelude #-}
9
10 module Char 
11     ( 
12       Char
13
14     , isAscii, isLatin1, isControl
15     , isPrint, isSpace,  isUpper
16     , isLower, isAlpha,  isDigit
17     , isOctDigit, isHexDigit, isAlphaNum  -- :: Char -> Bool
18
19     , toUpper, toLower  -- :: Char -> Char
20
21     , digitToInt        -- :: Char -> Int
22     , intToDigit        -- :: Int  -> Char
23
24     , ord               -- :: Char -> Int
25     , chr               -- :: Int  -> Char
26     , readLitChar       -- :: ReadS Char 
27     , showLitChar       -- :: Char -> ShowS
28     , lexLitChar        -- :: ReadS String
29
30     , String
31
32      -- Implementation checked wrt. Haskell 98 lib report, 1/99.
33     ) where
34
35 import PrelBase
36 import PrelShow
37 import PrelEnum
38 import PrelNum
39 import PrelRead (readLitChar, lexLitChar, digitToInt)
40 import PrelErr  ( error )
41 \end{code}