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