2901ae9439999c50b9d2b94747ea1bb25531fc06
[ghc-hetmet.git] / ghc / docs / users_guide / 2-06-notes.lit
1 GHC 2.06 is a minor upgrade of GHC 2.05, and is released as source only.  It represents work done through August '97.
2
3 Here's a list of the changes made since GHC 2.05:
4
5 \begin{itemize}
6
7 \item Fix to reader to allow let expressions in pattern guards.
8
9 \item Tidied up @nofib/parallel@
10
11 \item Changed @Show@ (and @Read@) code for constructors with labelled
12 fields.
13
14 \item Fixed @ghc-0.29 -O@ booting problem (needed extra imports).
15
16 \item Improved error messages for illegal derivings of @Ix@, @Enum@
17 and @Bounded@.
18
19 \item Fixed bug in deriving @Ix@ code. (need to actively slurp in
20 return and zero)
21
22 \item New module: @PackBase@ - minimum pack/unpack code.
23
24 \item Added export of @unionBy@ and @intersectBy@ to @List@ (plus
25 commented out unused functions).
26
27 \item Uniform size to @ForeignObj@ closures (indep of GC scheme).
28
29 \item Added @ForeignObj@ support to NCG
30
31 \item Added @index*OffForeignObj#@ primops (for completeness, mostly)
32
33 \item Moved @PackedString@ to ghc system library
34
35 \item New module: @ListExts@ - overflow List utils. (in ghc syslib)
36
37 \item Removed: @Util.mapAccumL@ and @Util.mapAccumR@ (now via List)
38
39 \item Removed: @forall@ and @exists@ from @Util@ (now @any@ and @all@ from @Prelude@). 
40
41 \item fixed: handling of source input from stdin in the driver.
42
43 \item x86 NCG should now compile under 2.0x
44
45 \item PECULIAR: compiling -prof "fixes" simplifier performance on deep
46   list comprehensions.
47
48 \item Added -O for ghc/lib/cbits
49
50 \item Updated @lndir@ (sync wrt. X11R6.3)
51
52 \item Removed @glafp-utils/msub@
53
54 \item Fixed misleading error message for guards (used to
55 mention list comprehensions) (SLPJ)
56
57 \item Fixed incorrect handling of default methods (used to
58 complain about differing contexts) (SLPJ)
59
60 \item Fixed missing @tidyPrimOp@ in @simplCore/SimplCore@
61         (Sven Panne bug report.) (SLPJ)
62
63 \item Fixed desugaring of record construction for overloaded
64 constructors. (Dave Barton bug report.) (SLPJ)
65
66 \item Fixed rank-2 polymorphism bug (Ralf Hinze bug report.) (SLPJ)
67
68 \item Fixed interface-file parser error on @GHC.->@
69
70 \item Added @-no-recomp@ flag
71
72 \item Changed grouping syntax for simplifier opts, instead of
73   '(' and ')', use '[' and ']'. The change is made to make
74   it more Win32 (and cygwin32) friendly.
75
76 \item Removed the use of @COMPILING_GHC@ in @ghc/compiler/@
77
78 \item Use @COMPILING_NCG@ instead of @COMPILING_GHC@ in @ghc/includes/@
79   header files to control visibility of info needed when
80   compiling the native code generator.
81
82 \item Tidied up handling of IO error messages in @IOBase@
83
84 \item Fixed @PackBase.unpackCString@ and @PackedString.unpackCString@
85 to handle @NULL@ pointer arg gracefully.
86
87 \item fix: archives in @INSTALL_LIBS@ are now ranlib'ed when installing.
88
89 \item fix: for @-monly-x-regs@, the mangler now generates necessary code
90   for loading up unstolen registers before GC, and save their updated
91   contents (via BaseReg) on GC return before `handing back'
92   the registers. This change fixed the @SIGSEGV@ problem reported by
93  David Barton on an x86 platform (linux) with 2.05.
94
95 \item changed @SMstats.elapsedtime@ to return non-negative floats. (=>
96   no more @-Rghc-timing@ warnings about not finding @InitTime@ etc.)
97
98 \item Change @mkWrapper@ in @WwLib.lhs@ to call
99   @splitForAllTyExpandingDicts@ instead of @splitForALlTy@ to fix
100  @absApply@ crash. (Jon Mountjoy bug report.) (SLPJ)
101
102 \item GHC's interface file parser now uses the latest version of
103 Happy.
104
105 \item Happy is now included in the source distribution.
106 \end{itemize}