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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
Description: all modifications found in 200006-2-1.2
--- haskell98-tutorial-200006-2.orig/intro.verb
+++ haskell98-tutorial-200006-2/intro.verb
@@ -21,8 +21,8 @@ and techniques, including some of the la
in Haskell, see \cite{huda89a}.
The Haskell language has evolved significantly since its birth in 1987.
-This tutorial deals with \anchor{http://haskell.org/report}
-{Haskell 98}. Older versions of the language are now obsolete;
+This tutorial deals with Haskell~98~\cite{haskell-98}.
+Older versions of the language are now obsolete;
Haskell users are encouraged to use Haskell 98. There are also many
extensions to Haskell 98 that have been widely implemented. These are
not yet a formal part of the Haskell language and are not covered in
@@ -34,8 +34,7 @@ point to the Report for details. We sug
completely ignore the details until the {\em Gentle Introduction} has been
completely read. On the other hand, Haskell's Standard Prelude (in
Appendix A of the Report and the standard libraries
-(found in the \anchor{http://haskell.org/library}
-Library Report~\cite{haskell-libs}) contain
+(found in the Library Report~\cite{haskell-libs}) contain
lots of useful examples of Haskell code; we
encourage a thorough reading once this tutorial is completed. This
will not only give the reader a feel for what real Haskell code looks
--- haskell98-tutorial-200006-2.orig/moretypes.verb
+++ haskell98-tutorial-200006-2/moretypes.verb
@@ -56,7 +56,7 @@ incurs extra overhead in the representat
use of @newtype@ avoids the extra level of indirection (caused by
laziness) that the @data@ declaration would introduce.
See section
-\ref{datatype-renaming} of the report for a more discussion of the
+\see{datatype-renaming} of the report for a more discussion of the
relation between @newtype@, @data@, and @type@ declarations.
\syn{Except for the keyword, the @newtype@ declaration uses the same
--- haskell98-tutorial-200006-2.orig/tex.hs
+++ haskell98-tutorial-200006-2/tex.hs
@@ -82,7 +82,7 @@ import Monad(foldM)
import IO hiding (bracket)
import Char(isSpace, isAlpha, isDigit)
-import IOExts(unsafePerformIO) -- debugging only
+import System.IO.Unsafe(unsafePerformIO) -- debugging only
data FontStyle = RM | IT | TT | Bold | Sym | UL
deriving (Eq,Show)
@@ -1129,8 +1129,8 @@ doBlock a d hs =
HPara]
_ -> HString ("Unknown begin: \\begin{" ++ a ++ "}\n")
where (opts,d') = case (break (== ';') d) of
- (str,"") -> ("", str)
- (o,';':s) -> (o,s)
+ (str,"") -> ("", str)
+ (o,';':s) -> (o,s)
doEnd s l ls = let (a,l',ls') = getSArg l ls in
if a == "thebibliography"
@@ -1299,7 +1299,7 @@ doSee s l ls = let (ref,l',ls') = getSAr
file = lookup ref (refMap (gs s))
anc x = case file of
Just fn ->
- HAnchor ("../onlinereport/" ++ fn ++ ".html#" ++ ref) x
+ HAnchor ("../../haskell98-report/html/haskell98-report-html/" ++ fn ++ ".html#" ++ ref) x
Nothing -> x
in
case txt of
|