+% -----------------------------------------------------------------------------
+% $Id: Array.lhs,v 1.13 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1999
+% (c) The University of Glasgow, 1994-2000
%
-
\section[Array]{Module @Array@}
\begin{code}
+% -----------------------------------------------------------------------------
+% $Id: Char.lhs,v 1.7 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1999
+% (c) The University of Glasgow, 1994-2000
%
-
\section[Char]{Module @Char@}
\begin{code}
+% -----------------------------------------------------------------------------
+% $Id: Complex.lhs,v 1.5 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1999
+% (c) The University of Glasgow, 1994-2000
%
\section[Complex]{Module @Complex@}
+% -----------------------------------------------------------------------------
+% $Id: IO.lhs,v 1.40 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1998
+% (c) The University of Glasgow, 1994-2000
%
+
\section[IO]{Module @IO@}
Implementation of the standard Haskell IO interface, see
+% -----------------------------------------------------------------------------
+% $Id: Ix.lhs,v 1.18 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1999
+% (c) The University of Glasgow, 1994-2000
%
\section[Ix]{Module @Ix@}
+% -----------------------------------------------------------------------------
+% $Id: List.lhs,v 1.10 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1999
+% (c) The University of Glasgow, 1994-2000
%
\section[List]{Module @Lhar@}
+% -----------------------------------------------------------------------------
+% $Id: Locale.lhs,v 1.5 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The GRASP/AQUA Project, Glasgow University, 1995-99
+% (c) The University of Glasgow, 1995-2000
%
+
\section[Time]{Haskell 1.4 Locale Library}
+% -----------------------------------------------------------------------------
+% $Id: Maybe.lhs,v 1.5 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1999
+% (c) The University of Glasgow, 1994-2000
%
+
\section[Maybe]{Module @Maybe@}
The standard Haskell 1.3 library for working with
+% -----------------------------------------------------------------------------
+% $Id: Monad.lhs,v 1.11 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1999
+% (c) The University of Glasgow, 1994-2000
%
+
\section[Monad]{Module @Monad@}
\begin{code}
+% -----------------------------------------------------------------------------
+% $Id: Numeric.lhs,v 1.9 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1997-99
+% (c) The University of Glasgow, 1997-2000
%
+
\section[Numeric]{Numeric interface}
Odds and ends, mostly functions for reading and showing
+% -----------------------------------------------------------------------------
+% $Id: PrelAddr.lhs,v 1.17 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1998
+% (c) The University of Glasgow, 1994-2000
%
\section[PrelAddr]{Module @PrelAddr@}
+% -----------------------------------------------------------------------------
+% $Id: PrelArr.lhs,v 1.23 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1996
+% (c) The University of Glasgow, 1994-2000
%
+
\section[PrelArr]{Module @PrelArr@}
Array implementation, @PrelArr@ exports the basic array
+% -----------------------------------------------------------------------------
+% $Id: PrelArrExtra.lhs,v 1.10 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1996
+% (c) The University of Glasgow, 1994-2000
%
+
\section[PrelArrExtra]{Module @PrelArrExtra@}
The following functions should be in PrelArr, but need -monly-2-regs
+% -----------------------------------------------------------------------------
+% $Id: PrelBase.lhs,v 1.32 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The GRAP/AQUA Project, Glasgow University, 1992-1996
+% (c) The University of Glasgow, 1992-2000
%
\section[PrelBase]{Module @PrelBase@}
+% -----------------------------------------------------------------------------
+% $Id: PrelByteArr.lhs,v 1.7 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1996
+% (c) The University of Glasgow, 1994-2000
%
+
\section[PrelByteArr]{Module @PrelByteArr@}
Byte-arrays are flat arrays of non-pointers only.
+% -----------------------------------------------------------------------------
+% $Id: PrelDynamic.lhs,v 1.5 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) AQUA Project, Glasgow University, 1998
+% (c) The University of Glasgow, 1998-2000
%
The Dynamic type is used in the Exception type, so we have to have
+% -----------------------------------------------------------------------------
+% $Id: PrelEnum.lhs,v 1.11 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The GRASP/AQUA Project, Glasgow University, 1992-1996
+% (c) The University of Glasgow, 1992-2000
%
+
\section[PrelBounded]{Module @PrelBounded@}
Instances of Bounded for various datatypes.
+% -----------------------------------------------------------------------------
+% $Id: PrelErr.lhs,v 1.18 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1996
+% (c) The University of Glasgow, 1994-2000
%
\section[PrelErr]{Module @PrelErr@}
+% ------------------------------------------------------------------------------
+% $Id: PrelFloat.lhs,v 1.8 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1996
+% (c) The University of Glasgow, 1994-2000
%
\section[PrelNum]{Module @PrelNum@}
+% ------------------------------------------------------------------------------
+% $Id: PrelForeign.lhs,v 1.15 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1996
+% (c) The University of Glasgow, 1994-2000
%
\section[Foreign]{Module @Foreign@}
) where
import PrelIOBase
-import PrelST
import PrelBase
import PrelAddr
-import PrelGHC
import PrelWeak ( addForeignFinalizer )
\end{code}
+% ------------------------------------------------------------------------------
+% $Id: PrelHugs.lhs,v 1.13 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-2000
+% (c) The University of Glasgow, 2000
%
\begin{code}
catchException (m >> hFlush stderr >> hFlush stdout)
(\e -> putStr ("error: " ++ show e ++ "\n"))
)
-\end{code}
\ No newline at end of file
+\end{code}
+% ------------------------------------------------------------------------------
+% $Id: PrelList.lhs,v 1.20 2000/06/30 13:39:35 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1996
+% (c) The University of Glasgow, 1994-2000
%
\section[PrelList]{Module @PrelList@}
+% ------------------------------------------------------------------------------
+% $Id: PrelMain.lhs,v 1.7 2000/06/30 13:39:36 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1997
+% (c) The University of Glasgow, 1994-2000
%
\section[PrelMain]{Module @PrelMain@}
+% ------------------------------------------------------------------------------
+% $Id: PrelMaybe.lhs,v 1.6 2000/06/30 13:39:36 simonmar Exp $
%
-% (c) The GRASP/AQUA Project, Glasgow University, 1992-1996
+% (c) The University of Glasgow, 1992-2000
%
+
\section[PrelMaybe]{Module @PrelMaybe@}
The @Maybe@ type.
+% ------------------------------------------------------------------------------
+% $Id: PrelNum.lhs,v 1.32 2000/06/30 13:39:36 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1996
+% (c) The University of Glasgow, 1994-2000
%
\section[PrelNum]{Module @PrelNum@}
+% ------------------------------------------------------------------------------
+% $Id: PrelPack.lhs,v 1.13 2000/06/30 13:39:36 simonmar Exp $
%
-% (c) The GRASP/AQUA Project, Glasgow University, 1997
+% (c) The University of Glasgow, 1997-2000
%
+
\section[PrelPack]{Packing/unpacking bytes}
This module provides a small set of low-level functions for packing
+% ------------------------------------------------------------------------------
+% $Id: PrelRead.lhs,v 1.15 2000/06/30 13:39:36 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1998
+% (c) The University of Glasgow, 1994-2000
%
\section[PrelRead]{Module @PrelRead@}
import PrelReal
import PrelFloat
import PrelList
-import PrelTup
import PrelMaybe
import PrelShow -- isAlpha etc
import PrelBase
+% ------------------------------------------------------------------------------
+% $Id: PrelReal.lhs,v 1.6 2000/06/30 13:39:36 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1996
+% (c) The University of Glasgow, 1994-2000
%
\section[PrelReal]{Module @PrelReal@}
+% ------------------------------------------------------------------------------
+% $Id: PrelST.lhs,v 1.15 2000/06/30 13:39:36 simonmar Exp $
%
-% (c) The GRASP/AQUA Project, Glasgow University, 1992-1996
+% (c) The University of Glasgow, 1992-2000
%
+
\section[PrelST]{The @ST@ monad}
\begin{code}
+% ------------------------------------------------------------------------------
+% $Id: PrelShow.lhs,v 1.11 2000/06/30 13:39:36 simonmar Exp $
%
-% (c) The GRAP/AQUA Project, Glasgow University, 1992-1996
+% (c) The University of Glasgow, 1992-2000
%
+
\section{Module @PrelShow@}
% -----------------------------------------------------------------------------
-% $Id: PrelStable.lhs,v 1.6 2000/05/01 14:53:47 panne Exp $
+% $Id: PrelStable.lhs,v 1.7 2000/06/30 13:39:36 simonmar Exp $
%
-% (c) The GHC Team, 1992-1999
+% (c) The GHC Team, 1992-2000
%
+\section{Module @PrelStable@}
+
\begin{code}
{-# OPTIONS -fno-implicit-prelude #-}
+% -----------------------------------------------------------------------------
+% $Id: PrelTup.lhs,v 1.9 2000/06/30 13:39:36 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1996
+% (c) The University of Glasgow, 1992-2000
%
\section[PrelTup]{Module @PrelTup@}
+% ------------------------------------------------------------------------------
+% $Id: PrelWeak.lhs,v 1.13 2000/06/30 13:39:36 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1998
+% (c) The University of Glasgow, 1998-2000
%
\section[PrelWeak]{Module @PrelWeak@}
+% ------------------------------------------------------------------------------
+% $Id: Prelude.lhs,v 1.22 2000/06/30 13:39:36 simonmar Exp $
+%
+% (c) The University of Glasgow, 1992-2000
+%
+
+\section[Prelude]{Module @Prelude@}
+
We add the option -fno-implicit-prelude here to tell the reader that
special names such as () and -> shouldn't be resolved to Prelude.()
and Prelude.-> (as they are normally). -- SDM 8/10/97
+% ------------------------------------------------------------------------------
+% $Id: Random.lhs,v 1.21 2000/06/30 13:39:36 simonmar Exp $
%
-% (c) The GRASP/AQUA Project, Glasgow University, 1995-99
+% (c) The University of Glasgow, 1995-2000
%
+\section[Random]{Module @Random@}
The June 1988 (v31 #6) issue of the Communications of the ACM has an
article by Pierre L'Ecuyer called, "Efficient and Portable Combined
+% ------------------------------------------------------------------------------
+% $Id: Ratio.lhs,v 1.7 2000/06/30 13:39:36 simonmar Exp $
%
-% (c) The AQUA Project, Glasgow University, 1994-1999
+% (c) The University of Glasgow, 1994-2000
%
\section[Ratio]{Module @Ratio@}
-e%
-% (c) The GRASP/AQUA Project, Glasgow University, 1995-99
+% ------------------------------------------------------------------------------
+% $Id: Time.lhs,v 1.22 2000/06/30 13:39:36 simonmar Exp $
%
+% (c) The University of Glasgow, 1995-2000
+%
+
\section[Time]{Haskell 1.4 Time of Day Library}
The {\em Time} library provides standard functionality for