[project @ 2002-04-24 16:31:37 by simonmar]
[packages/base.git] / Text / Read.hs
1 {-# OPTIONS -fno-implicit-prelude #-}
2 -----------------------------------------------------------------------------
3 -- |
4 -- Module : Text.Read
5 -- Copyright : (c) The University of Glasgow 2001
6 -- License : BSD-style (see the file libraries/core/LICENSE)
7 --
8 -- Maintainer : libraries@haskell.org
9 -- Stability : provisional
10 -- Portability : portable
11 --
12 -- $Id: Read.hs,v 1.2 2002/04/24 16:31:46 simonmar Exp $
13 --
14 -- Exiting the program.
15 --
16 -----------------------------------------------------------------------------
17
18 module Text.Read (
19 ReadS, -- String -> Maybe (a,String)
20 Read(
21 readsPrec, -- :: Int -> ReadS a
22 readList -- :: ReadS [a]
23 ),
24 reads, -- :: (Read a) => ReadS a
25 read, -- :: (Read a) => String -> a
26 readParen, -- :: Bool -> ReadS a -> ReadS a
27 lex, -- :: ReadS String
28 ) where
29
30 #ifdef __GLASGOW_HASKELL__
31 import GHC.Read
32 #endif