From: sof Date: Fri, 6 Jun 1997 22:19:36 +0000 (+0000) Subject: [project @ 1997-06-06 22:19:27 by sof] X-Git-Tag: Approximately_1000_patches_recorded~325 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=6aafc06c11bfcb4b22a5e9fef011764ca1636ed5;p=ghc-hetmet.git [project @ 1997-06-06 22:19:27 by sof] last minute 2.04 fixes --- diff --git a/ghc/docs/users_guide/2-03-notes.lit b/ghc/docs/users_guide/2-03-notes.lit index e32b55c..b7f57bf 100644 --- a/ghc/docs/users_guide/2-03-notes.lit +++ b/ghc/docs/users_guide/2-03-notes.lit @@ -4,8 +4,13 @@ ways: \begin{itemize} \item A slew of small bugs are fixed. You can find the complete list - at @http://www.cse.ogi.edu/~simonpj/ghc-bugs.html@. One - bug remains un-fixes, namely the crash when there's an empty + at: + +\begin{verbatim} +http://www.cse.ogi.edu/~simonpj/ghc-bugs.html +\end{verbatim} + + One bug remains un-fixes, namely the crash when there's an empty comment at the end of file. It's wierd! \item diff --git a/ghc/docs/users_guide/2-04-notes.lit b/ghc/docs/users_guide/2-04-notes.lit index 7049a6b..992fba5 100644 --- a/ghc/docs/users_guide/2-04-notes.lit +++ b/ghc/docs/users_guide/2-04-notes.lit @@ -4,8 +4,8 @@ adds the following: \begin{itemize} \item -Data constructors can now have polymophic fields, and ordinary -functions can have polymoprhic arguments. Details on +Data constructors can now have polymorphic fields, and ordinary +functions can have polymorphic arguments. Details on \begin{verbatim} http://www.cse.ogi.edu/~simonpj/quantification.html @@ -43,7 +43,7 @@ renamer optimisations. You can try the effect with the renamer statistics. War stories welcome. \item - The Heroic Efforts of \tr{Andre\' Santos } have + The Heroic Efforts of \tr{Andr\'e Santos } have been included, AIX/RS6000 is now a supported \tr{ghc} platform! Bug reports concerning this port to (as always) \tr{glasgow-haskell-bugs@dcs.gla.ac.uk}. diff --git a/ghc/docs/users_guide/backwards.lit b/ghc/docs/users_guide/backwards.lit index cdd450d..a709b21 100644 --- a/ghc/docs/users_guide/backwards.lit +++ b/ghc/docs/users_guide/backwards.lit @@ -8,8 +8,8 @@ This part of the guide is to help people upgrading from a previous version of GHC. Right now, it is mostly to help people -switching from GHC~0.26 (a Haskell~1.2 compiler, mostly) to GHC~2.01 -(a Haskell~1.3 compiler). +switching from GHC~0.29 (a Haskell~1.2 compiler, mostly) to GHC~2.04 +(a Haskell~1.4 compiler). %ToDo: index @@ -17,8 +17,8 @@ If you need to maintain Haskell code that will work for multiple versions of GHC, you can use the \tr{-cpp} flag and the \tr{__GLASGOW_HASKELL__} pre-processor variable. -For example, in GHC~0.26, \tr{__GLASGOW_HASKELL__} will be 26; for~2.01, -it will be 201. Thus, you can write: +For example, in GHC~0.29, \tr{__GLASGOW_HASKELL__} will be 29; for~2.04, +it will be 204. Thus, you can write: \begin{verbatim} #if __HASKELL1__ <= 2 main = appendChan stdout "Hello, world!\n" exit done -- 1.2 @@ -148,7 +148,7 @@ exact equivalent exists in 1.3. %* * %************************************************************************ -GHC~0.26 supported an early DRAFT of the Haskell~1.3 monadic I/O +GHC~0.29 supported an early DRAFT of the Haskell~1.3 monadic I/O facilities. Inevitably, what Really Made It into 1.3 is not quite what was in the draft. @@ -164,7 +164,7 @@ The function \tr{try} didn't make it into 1.3 I/O. GHC supplies it All the system modules named \tr{LibSomething} dropped the \tr{Lib}. So: \tr{LibSystem} is now just \tr{System}. -In~0.26, you could mix-n-match @IO@ with @PrimIO@, simply because the +In~0.29, you could mix-n-match @IO@ with @PrimIO@, simply because the implementation happend to allow it. Not any more. The \tr{IOError} type is now abstract; you cannot see it's @@ -233,7 +233,7 @@ overloaded, you will need to switch to \tr{genericTake}, %* * %************************************************************************ -GHC~2.01 is fussier than 0.26 about junk in import lists. This is a +GHC~2.04 is fussier than 0.29 about junk in import lists. This is a feature. \tr{Foo..} (in export lists) must be changed to \tr{module Foo}. @@ -276,4 +276,4 @@ and @fwrite@ are dead. The \tr{LibPosix} stuff didn't make it into 1.3 I/O, so it has become a ``system library'' (\tr{-syslib posix}). Other than dropping the -\tr{Lib*} prefix, everything should be the same as in 0.26. +\tr{Lib*} prefix, everything should be the same as in 0.29. diff --git a/ghc/docs/users_guide/intro.lit b/ghc/docs/users_guide/intro.lit index 0e70338..a79e8a1 100644 --- a/ghc/docs/users_guide/intro.lit +++ b/ghc/docs/users_guide/intro.lit @@ -1,5 +1,5 @@ % -% $Header: /srv/cvs/cvs.haskell.org/fptools/ghc/docs/users_guide/Attic/intro.lit,v 1.4 1997/03/24 04:42:47 sof Exp $ +% $Header: /srv/cvs/cvs.haskell.org/fptools/ghc/docs/users_guide/Attic/intro.lit,v 1.5 1997/06/06 22:19:30 sof Exp $ % \section[introduction-GHC]{Introduction to GHC} @@ -30,11 +30,11 @@ material in \sectionref{compiler-tutorial} may help. On the World-Wide Web, there are several URLs of likely interest: \begin{display} +Haskell home page -- \tr{http://haskell.org/} GHC home page -- \tr{http://www.dcs.gla.ac.uk/fp/software/ghc/} Glasgow FP group page -- \tr{http://www.dcs.gla.ac.uk/fp/} -comp.lang.functional FAQ -- \tr{http://www.cs.nott.ac.uk/Department/Staff/mpj/faq.html} -programming language research page -- - \tr{http://www.cs.cmu.edu/afs/cs.cmu.edu/user/mleone/web/language-research.html} +comp.lang.functional FAQ -- + \tr{http://www.cs.nott.ac.uk/Department/Staff/mpj/faq.html} \end{display} We run two mailing lists about Glasgow Haskell. We encourage you to join, as you feel is appropriate. diff --git a/ghc/docs/users_guide/release.lit b/ghc/docs/users_guide/release.lit index 74132c3..3457ad4 100644 --- a/ghc/docs/users_guide/release.lit +++ b/ghc/docs/users_guide/release.lit @@ -26,17 +26,21 @@ Email: glasgow-haskell-\{users,bugs\}-request\@dcs.gla.ac.uk} % pointers to it. Mentioning something in the release notes is not % the same as documenting it. -\section[release-2-03]{Release notes for version~2.04---6/97} +\section[release-notes]{Release notes} + +\subsection[release-2-04]{Release notes for version~2.04---6/97} \input{2-04-notes.lit} -\section[release-2-03]{Release notes for version~2.03---4/97} +\subsection[release-2-03]{Release notes for version~2.03---4/97} \input{2-03-notes.lit} -\section[release-2-02]{Release notes for version~2.02---3/97} +\subsection[release-2-02]{Release notes for version~2.02---3/97} +\downsection \input{2-02-notes.lit} +\upsection -\section[release-2-01]{Release notes for version~2.01---7/96} -\input{2-01-notes.lit} +%\section[release-2-01]{Release notes for version~2.01---7/96} +%\input{2-01-notes.lit} %\section[release-RSN]{What we hope to do Real Soon Now} %\downsection @@ -58,7 +62,7 @@ Email: glasgow-haskell-\{users,bugs\}-request\@dcs.gla.ac.uk} %with bug fixes''; i.e., the current state-of-play on the Haskell~1.2 %compiler development. -\section{Old release notes} +\subsection[older-release-notes]{Old release notes} We used to include the release notes back to the dawn of time in this document. Made for a nice long document, but it wasn't that diff --git a/ghc/docs/users_guide/sooner.lit b/ghc/docs/users_guide/sooner.lit index 5212518..c92fafb 100644 --- a/ghc/docs/users_guide/sooner.lit +++ b/ghc/docs/users_guide/sooner.lit @@ -144,7 +144,7 @@ especially with \tr{-O2}. At present, \tr{-O2} is nearly indistinguishable from \tr{-O}. -At version 2.01, \tr{-O} is a dodgy proposition, no matter what. +%At version 2.01, \tr{-O} is a dodgy proposition, no matter what. %---------------------------------------------------------------- \item[Compile via C and crank up GCC:] Even with \tr{-O}, GHC tries to diff --git a/ghc/docs/users_guide/syslib.lit b/ghc/docs/users_guide/syslib.lit index e14e714..23330c1 100644 --- a/ghc/docs/users_guide/syslib.lit +++ b/ghc/docs/users_guide/syslib.lit @@ -2342,9 +2342,12 @@ shortToInt :: Short -> Int -- convert a Short to Int byteToInt :: Byte -> Int -- convert a Byte to Int \end{verbatim} -\item[\tr{Time}:] +\item[\tr{TimeUtil}:] \index{Time module (HBC library)}% Manipulate time values (a Double with seconds since 1970). +[7/97 -- this lib has been more or less superceeded by the standard Time + interface] + \begin{verbatim} -- year mon day hour min sec dec-sec weekday data Time = Time Int Int Int Int Int Int Double Int diff --git a/ghc/docs/users_guide/user.lit b/ghc/docs/users_guide/user.lit index c3fc158..bb6dc97 100644 --- a/ghc/docs/users_guide/user.lit +++ b/ghc/docs/users_guide/user.lit @@ -1,7 +1,7 @@ \begin{onlystandalone} \documentstyle[11pt,literate]{article} \begin{document} -\title{The Glorious Glasgow Haskell Compilation System\\ Version~2.02\\ User's Guide} +\title{The Glorious Glasgow Haskell Compilation System\\ Version~2.04\\ User's Guide} \author{The GHC Team\\ Department of Computing Science\\ University of Glasgow\\