cc028b721a14dc7fa2c87b8bdeb1aa12f976b092
[packages/random.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 -- Exiting the program.
13 --
14 -----------------------------------------------------------------------------
15
16 module Text.Read (
17 ReadS, -- String -> Maybe (a,String)
18 Read(
19 readsPrec, -- :: Int -> ReadS a
20 readList -- :: ReadS [a]
21 ),
22 reads, -- :: (Read a) => ReadS a
23 read, -- :: (Read a) => String -> a
24 readParen, -- :: Bool -> ReadS a -> ReadS a
25 lex, -- :: ReadS String
26 ) where
27
28 #ifdef __GLASGOW_HASKELL__
29 import GHC.Read
30 #endif