# -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.14 2002/02/12 10:52:47 simonmar Exp $
+# $Id: Makefile,v 1.15 2002/02/12 15:17:34 simonmar Exp $
TOP=..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -fglasgow-exts -cpp -Iinclude
SRC_HSC2HS_OPTS += -Iinclude
+# -----------------------------------------------------------------------------
+# Per-module flags
+
# ESSENTIAL, for getting reasonable performance from the I/O library:
-GHC/IOBase_HC_OPTS = -funbox-strict-fields
+GHC/IOBase_HC_OPTS = -funbox-strict-fields
+
+Data/Array/Storable_HC_OPTS = -funbox-strict-fields
# -----------------------------------------------------------------------------
# PrimOpWrappers
-- Stability : experimental | provisional | stable
-- Portability : portable | non-portable (<replaceable>reason(s)</replaceable>)
--
--- $Id: libraries.sgml,v 1.6 2001/12/21 15:07:26 simonmar Exp $
+-- $Id: libraries.sgml,v 1.7 2002/02/12 15:17:34 simonmar Exp $
--
-- <replaceable>Description</replaceable>
-----------------------------------------------------------------------------
<variablelist>
<varlistentry>
- <term><literal>$Id: libraries.sgml,v 1.6 2001/12/21 15:07:26 simonmar Exp $</literal></term>
+ <term><literal>$Id: libraries.sgml,v 1.7 2002/02/12 15:17:34 simonmar Exp $</literal></term>
<listitem>
<para>is optional, but usually included if the module is
under CVS or RCS control.</para>
IO -> System.IO
added
- hPutBuf :: Handle -> Ptr a -> Int -> IO ()
- hGetBuf :: Handle -> Ptr a -> Int -> IO Int
- fixIO :: (a -> IO a) -> IO a
+ hPutBuf :: Handle -> Ptr a -> Int -> IO ()
+ hGetBuf :: Handle -> Ptr a -> Int -> IO Int
+ fixIO :: (a -> IO a) -> IO a
+ hSetEcho :: Handle -> Bool -> IO ()
+ hGetEcho :: Handle -> IO Bool
+ hIsTerminalDevice :: Handle -> IO Bool
List -> Data.List
exports [](..)
- Numeric -> Numeric
- added showHex, showOct, showBin & showIntAtBase from NumExts,
- (not exported yet - these aren't H98)
- but left out floatToDouble & doubleToFloat (realToFrac is more general).
-
System -> System.Exit, System.Environment, System.Cmd
split into three modules
Locale -> System.Locale
Maybe -> Data.Maybe
Monad -> Data.Monad
+ Numeric -> Numeric
Random -> System.Random
Ratio -> Data.Ratio
Time -> System.Time