X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2F6.6-notes.xml;h=de4ce16883a9a126215d1aacf4f3bd4e5b47b206;hb=bb5e030c18910d1a1833803d5a1a5edf48ca4e8a;hp=6582935914479e7fa2c16a46bf4311240eb1578d;hpb=93c274ab468687d45c3abf0b33314b5b554f133f;p=ghc-hetmet.git diff --git a/docs/users_guide/6.6-notes.xml b/docs/users_guide/6.6-notes.xml index 6582935..de4ce16 100644 --- a/docs/users_guide/6.6-notes.xml +++ b/docs/users_guide/6.6-notes.xml @@ -17,18 +17,15 @@ - GHC's modules are now also bundled into a - ghc package, allowing programs to make use - of GHC as a library. The interface has not yet been properly - designed, so is subject to change. + GHC now handles impredicative polymorphism; see . - GHC now handles impredicative polymorphism and there are - changes to the way scoped type variables work; see - Simon's e-mail - for more details. + There are significant changes to the way scoped type variables work; + see . + ( Simon's e-mail + gives some background.) @@ -41,6 +38,7 @@ f (x, y) | x `seq` False = undefined | otherwise = [x,y] + See for more details. @@ -96,6 +94,8 @@ performance when a lot of memory is taken up by STArrays, IOArrays, STRefs or IORefs. + For more details see + trac bug #650. @@ -184,6 +184,16 @@ + The + + option is now called + . + (the old name is still accepted for backwards compatibility, + but will be removed in the future). + + + + The flag has been removed. @@ -294,9 +304,21 @@ - It is now possible, with the -I RTS flag, - to control the amount of idle time that happens before a major - GC is performed. + If the program is idle for a certain amount of time then GHC + will now take the opportunity to do a major garbage collection. + The amount of idle time that is required before that happens + is controlled by the new -I RTS flag. + There is more detail in . + + + + + It is now possible to control the frequency that the RTS clock + ticks at with the new -V RTS flag. This is + normally handled automatically by other flags, but this flag + is needed if you want to increase the resolution of the time + profiler. + For more details see . @@ -307,8 +329,11 @@ - The flag can now be used with - , and hence can be used by cabal. + The flag, which when used to compile + libraries means executables using the library will be smaller, + can now be used with and hence + can be used by cabal. + See for more information. @@ -319,6 +344,18 @@ Template Haskell. + + + GHC now supports postfix operators, as a simple generalisation of + left sections (). + + + + + Parallel arrays, as enabled by -fparr, no + longer work. They'll be coming back shortly, in full glory. + + @@ -348,6 +385,15 @@ See for more information. + + + GHCi now invokes print by default on the + result of IO actions and bindings at the prompt. This is + occasionally not what you want, so it can be disabled (at + least for bindings) with + :set -fno-print-bind-result. See . + @@ -468,6 +514,7 @@ inline which, provided the RHS is visible to the compiler, forcibly inlines its argument. Otherwise, it acts like id. + For more details, see . @@ -475,6 +522,7 @@ GHC.Exts now provides a function lazy which forces GHC to think that its argument is lazy in its first argument. + For more details, see . @@ -1595,6 +1643,24 @@ + GHC As A Library + + Version number 6.6. + + + The internal modules of GHC are now available as a library, package + name ghc. + The interface has not been designed with use by other programs + in mind, so expect the API to vary radically in future + releases. + + + An introduction to using the library can be found + on the wiki. + + + + Internal changes