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