From: simonmar Date: Fri, 30 Jun 2000 13:39:36 +0000 (+0000) Subject: [project @ 2000-06-30 13:39:35 by simonmar] X-Git-Tag: Approximately_9120_patches~4104 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=ce6e38dc12b5feae2eb43e94d833646a9c921cda;p=ghc-hetmet.git [project @ 2000-06-30 13:39:35 by simonmar] - fix copyrights - remove some unused imports - comment formatting fixes --- diff --git a/ghc/lib/std/Array.lhs b/ghc/lib/std/Array.lhs index 2576f7c..dbc7297 100644 --- a/ghc/lib/std/Array.lhs +++ b/ghc/lib/std/Array.lhs @@ -1,7 +1,8 @@ +% ----------------------------------------------------------------------------- +% $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} diff --git a/ghc/lib/std/Char.lhs b/ghc/lib/std/Char.lhs index 442b84e..972daa9 100644 --- a/ghc/lib/std/Char.lhs +++ b/ghc/lib/std/Char.lhs @@ -1,7 +1,8 @@ +% ----------------------------------------------------------------------------- +% $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} diff --git a/ghc/lib/std/Complex.lhs b/ghc/lib/std/Complex.lhs index eca2738..748d571 100644 --- a/ghc/lib/std/Complex.lhs +++ b/ghc/lib/std/Complex.lhs @@ -1,5 +1,7 @@ +% ----------------------------------------------------------------------------- +% $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@} diff --git a/ghc/lib/std/IO.lhs b/ghc/lib/std/IO.lhs index 4ce03d6..0071cec 100644 --- a/ghc/lib/std/IO.lhs +++ b/ghc/lib/std/IO.lhs @@ -1,6 +1,9 @@ +% ----------------------------------------------------------------------------- +% $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 diff --git a/ghc/lib/std/Ix.lhs b/ghc/lib/std/Ix.lhs index d7544dc..b6fdd11 100644 --- a/ghc/lib/std/Ix.lhs +++ b/ghc/lib/std/Ix.lhs @@ -1,5 +1,7 @@ +% ----------------------------------------------------------------------------- +% $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@} diff --git a/ghc/lib/std/List.lhs b/ghc/lib/std/List.lhs index 440cfce..f86c69c 100644 --- a/ghc/lib/std/List.lhs +++ b/ghc/lib/std/List.lhs @@ -1,5 +1,7 @@ +% ----------------------------------------------------------------------------- +% $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@} diff --git a/ghc/lib/std/Locale.lhs b/ghc/lib/std/Locale.lhs index 3c3d9d6..40a2e9f 100644 --- a/ghc/lib/std/Locale.lhs +++ b/ghc/lib/std/Locale.lhs @@ -1,6 +1,9 @@ +% ----------------------------------------------------------------------------- +% $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} diff --git a/ghc/lib/std/Maybe.lhs b/ghc/lib/std/Maybe.lhs index 99d5f47..61b9c12 100644 --- a/ghc/lib/std/Maybe.lhs +++ b/ghc/lib/std/Maybe.lhs @@ -1,6 +1,9 @@ +% ----------------------------------------------------------------------------- +% $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 diff --git a/ghc/lib/std/Monad.lhs b/ghc/lib/std/Monad.lhs index 2c4c0ef..ca370ae 100644 --- a/ghc/lib/std/Monad.lhs +++ b/ghc/lib/std/Monad.lhs @@ -1,6 +1,9 @@ +% ----------------------------------------------------------------------------- +% $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} diff --git a/ghc/lib/std/Numeric.lhs b/ghc/lib/std/Numeric.lhs index 9f7bfd9..926caf4 100644 --- a/ghc/lib/std/Numeric.lhs +++ b/ghc/lib/std/Numeric.lhs @@ -1,6 +1,9 @@ +% ----------------------------------------------------------------------------- +% $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 diff --git a/ghc/lib/std/PrelAddr.lhs b/ghc/lib/std/PrelAddr.lhs index 3c9fb0a..48258eb 100644 --- a/ghc/lib/std/PrelAddr.lhs +++ b/ghc/lib/std/PrelAddr.lhs @@ -1,5 +1,7 @@ +% ----------------------------------------------------------------------------- +% $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@} diff --git a/ghc/lib/std/PrelArr.lhs b/ghc/lib/std/PrelArr.lhs index e930bad..8cfbbd9 100644 --- a/ghc/lib/std/PrelArr.lhs +++ b/ghc/lib/std/PrelArr.lhs @@ -1,6 +1,9 @@ +% ----------------------------------------------------------------------------- +% $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 diff --git a/ghc/lib/std/PrelArrExtra.lhs b/ghc/lib/std/PrelArrExtra.lhs index a7769b8..0b02d85 100644 --- a/ghc/lib/std/PrelArrExtra.lhs +++ b/ghc/lib/std/PrelArrExtra.lhs @@ -1,6 +1,9 @@ +% ----------------------------------------------------------------------------- +% $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 diff --git a/ghc/lib/std/PrelBase.lhs b/ghc/lib/std/PrelBase.lhs index 7f2a8a9..b168ef4 100644 --- a/ghc/lib/std/PrelBase.lhs +++ b/ghc/lib/std/PrelBase.lhs @@ -1,5 +1,7 @@ +% ----------------------------------------------------------------------------- +% $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@} diff --git a/ghc/lib/std/PrelByteArr.lhs b/ghc/lib/std/PrelByteArr.lhs index f2a1b10..f299f1f 100644 --- a/ghc/lib/std/PrelByteArr.lhs +++ b/ghc/lib/std/PrelByteArr.lhs @@ -1,6 +1,9 @@ +% ----------------------------------------------------------------------------- +% $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. diff --git a/ghc/lib/std/PrelDynamic.lhs b/ghc/lib/std/PrelDynamic.lhs index b90fafe..02e9104 100644 --- a/ghc/lib/std/PrelDynamic.lhs +++ b/ghc/lib/std/PrelDynamic.lhs @@ -1,5 +1,7 @@ +% ----------------------------------------------------------------------------- +% $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 diff --git a/ghc/lib/std/PrelEnum.lhs b/ghc/lib/std/PrelEnum.lhs index 92f9745..c941e86 100644 --- a/ghc/lib/std/PrelEnum.lhs +++ b/ghc/lib/std/PrelEnum.lhs @@ -1,6 +1,9 @@ +% ----------------------------------------------------------------------------- +% $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. diff --git a/ghc/lib/std/PrelErr.lhs b/ghc/lib/std/PrelErr.lhs index 5fda6d6..ac7a5cb 100644 --- a/ghc/lib/std/PrelErr.lhs +++ b/ghc/lib/std/PrelErr.lhs @@ -1,5 +1,7 @@ +% ----------------------------------------------------------------------------- +% $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@} diff --git a/ghc/lib/std/PrelFloat.lhs b/ghc/lib/std/PrelFloat.lhs index 5df3fb5..de8727b 100644 --- a/ghc/lib/std/PrelFloat.lhs +++ b/ghc/lib/std/PrelFloat.lhs @@ -1,5 +1,7 @@ +% ------------------------------------------------------------------------------ +% $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@} diff --git a/ghc/lib/std/PrelForeign.lhs b/ghc/lib/std/PrelForeign.lhs index 57af782..d99ca15 100644 --- a/ghc/lib/std/PrelForeign.lhs +++ b/ghc/lib/std/PrelForeign.lhs @@ -1,5 +1,7 @@ +% ------------------------------------------------------------------------------ +% $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@} @@ -19,10 +21,8 @@ module PrelForeign ( ) where import PrelIOBase -import PrelST import PrelBase import PrelAddr -import PrelGHC import PrelWeak ( addForeignFinalizer ) \end{code} diff --git a/ghc/lib/std/PrelHugs.lhs b/ghc/lib/std/PrelHugs.lhs index acaf932..183fa20 100644 --- a/ghc/lib/std/PrelHugs.lhs +++ b/ghc/lib/std/PrelHugs.lhs @@ -1,5 +1,7 @@ +% ------------------------------------------------------------------------------ +% $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} @@ -191,4 +193,4 @@ hugsprimRunIO_toplevel m catchException (m >> hFlush stderr >> hFlush stdout) (\e -> putStr ("error: " ++ show e ++ "\n")) ) -\end{code} \ No newline at end of file +\end{code} diff --git a/ghc/lib/std/PrelList.lhs b/ghc/lib/std/PrelList.lhs index 18f5325..2f7ad22 100644 --- a/ghc/lib/std/PrelList.lhs +++ b/ghc/lib/std/PrelList.lhs @@ -1,5 +1,7 @@ +% ------------------------------------------------------------------------------ +% $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@} diff --git a/ghc/lib/std/PrelMain.lhs b/ghc/lib/std/PrelMain.lhs index 3307bb7..ca298ee 100644 --- a/ghc/lib/std/PrelMain.lhs +++ b/ghc/lib/std/PrelMain.lhs @@ -1,5 +1,7 @@ +% ------------------------------------------------------------------------------ +% $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@} diff --git a/ghc/lib/std/PrelMaybe.lhs b/ghc/lib/std/PrelMaybe.lhs index 008a544..42bcd3d 100644 --- a/ghc/lib/std/PrelMaybe.lhs +++ b/ghc/lib/std/PrelMaybe.lhs @@ -1,6 +1,9 @@ +% ------------------------------------------------------------------------------ +% $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. diff --git a/ghc/lib/std/PrelNum.lhs b/ghc/lib/std/PrelNum.lhs index 83ed87b..ebf31c1 100644 --- a/ghc/lib/std/PrelNum.lhs +++ b/ghc/lib/std/PrelNum.lhs @@ -1,5 +1,7 @@ +% ------------------------------------------------------------------------------ +% $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@} diff --git a/ghc/lib/std/PrelPack.lhs b/ghc/lib/std/PrelPack.lhs index 934ffa7..4788126 100644 --- a/ghc/lib/std/PrelPack.lhs +++ b/ghc/lib/std/PrelPack.lhs @@ -1,6 +1,9 @@ +% ------------------------------------------------------------------------------ +% $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 diff --git a/ghc/lib/std/PrelRead.lhs b/ghc/lib/std/PrelRead.lhs index 3f64865..ac96ecb 100644 --- a/ghc/lib/std/PrelRead.lhs +++ b/ghc/lib/std/PrelRead.lhs @@ -1,5 +1,7 @@ +% ------------------------------------------------------------------------------ +% $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@} @@ -17,7 +19,6 @@ import PrelNum import PrelReal import PrelFloat import PrelList -import PrelTup import PrelMaybe import PrelShow -- isAlpha etc import PrelBase diff --git a/ghc/lib/std/PrelReal.lhs b/ghc/lib/std/PrelReal.lhs index 06551b6..1db91ba 100644 --- a/ghc/lib/std/PrelReal.lhs +++ b/ghc/lib/std/PrelReal.lhs @@ -1,5 +1,7 @@ +% ------------------------------------------------------------------------------ +% $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@} diff --git a/ghc/lib/std/PrelST.lhs b/ghc/lib/std/PrelST.lhs index 77e337a..996e7cf 100644 --- a/ghc/lib/std/PrelST.lhs +++ b/ghc/lib/std/PrelST.lhs @@ -1,6 +1,9 @@ +% ------------------------------------------------------------------------------ +% $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} diff --git a/ghc/lib/std/PrelShow.lhs b/ghc/lib/std/PrelShow.lhs index a2147ae..4af798c 100644 --- a/ghc/lib/std/PrelShow.lhs +++ b/ghc/lib/std/PrelShow.lhs @@ -1,6 +1,9 @@ +% ------------------------------------------------------------------------------ +% $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@} diff --git a/ghc/lib/std/PrelStable.lhs b/ghc/lib/std/PrelStable.lhs index 7de5666..a0de32b 100644 --- a/ghc/lib/std/PrelStable.lhs +++ b/ghc/lib/std/PrelStable.lhs @@ -1,9 +1,11 @@ % ----------------------------------------------------------------------------- -% $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 #-} diff --git a/ghc/lib/std/PrelTup.lhs b/ghc/lib/std/PrelTup.lhs index ef66740..8cc2c22 100644 --- a/ghc/lib/std/PrelTup.lhs +++ b/ghc/lib/std/PrelTup.lhs @@ -1,5 +1,7 @@ +% ----------------------------------------------------------------------------- +% $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@} diff --git a/ghc/lib/std/PrelWeak.lhs b/ghc/lib/std/PrelWeak.lhs index d7cfaac..0f68459 100644 --- a/ghc/lib/std/PrelWeak.lhs +++ b/ghc/lib/std/PrelWeak.lhs @@ -1,5 +1,7 @@ +% ------------------------------------------------------------------------------ +% $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@} diff --git a/ghc/lib/std/Prelude.lhs b/ghc/lib/std/Prelude.lhs index 237db71..0f9aa1a 100644 --- a/ghc/lib/std/Prelude.lhs +++ b/ghc/lib/std/Prelude.lhs @@ -1,3 +1,11 @@ +% ------------------------------------------------------------------------------ +% $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 diff --git a/ghc/lib/std/Random.lhs b/ghc/lib/std/Random.lhs index 94aca4b..a5f1667 100644 --- a/ghc/lib/std/Random.lhs +++ b/ghc/lib/std/Random.lhs @@ -1,7 +1,10 @@ +% ------------------------------------------------------------------------------ +% $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 diff --git a/ghc/lib/std/Ratio.lhs b/ghc/lib/std/Ratio.lhs index cd27634..dd18de3 100644 --- a/ghc/lib/std/Ratio.lhs +++ b/ghc/lib/std/Ratio.lhs @@ -1,5 +1,7 @@ +% ------------------------------------------------------------------------------ +% $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@} diff --git a/ghc/lib/std/Time.lhs b/ghc/lib/std/Time.lhs index 6d2ade9..3a1a763 100644 --- a/ghc/lib/std/Time.lhs +++ b/ghc/lib/std/Time.lhs @@ -1,6 +1,9 @@ -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