X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2F5-00-notes.sgml;h=b1377c3de529eed1d50574b83d411fc0b0949d6f;hb=2947e534cfb45e3eff9f06e8f60d19117da3ac63;hp=2e205725c6ed16f16f27c7d088f2d50a77154d97;hpb=f4742cfc2308a9816b2340a8ab2508821b587903;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/5-00-notes.sgml b/ghc/docs/users_guide/5-00-notes.sgml index 2e20572..b1377c3 100644 --- a/ghc/docs/users_guide/5-00-notes.sgml +++ b/ghc/docs/users_guide/5-00-notes.sgml @@ -5,19 +5,103 @@ User-visible compiler changes - GHCi added + GHCi, the new interactive environment on top of GHC, has + been added (). - flag added + New flag added (). - dynamic vs. static options + The native code generator now supports Sparc in addition + to x86. - NCG support for Sparc + We now make it clear which options can be placed in an + OPTIONS pragma. See . - hsc2hs added + no longer implies + . + + + is no more. + + + and are no more. + + + The concept of “packages” has been + generalised and extended. Packages may be installed or + removed from an existing GHC installation using the new + ghc-pkg tool. See . + + + Initial unicode support: the Char + type is now 31 bits. We don't yet have support for unicode + I/O. + + + now takes an optional numeric + argument indicating the level of verbosity (). has + been removed. + + + Parallel list comprehensions added. + + + Profiling: please use + {-# SCC ".." #-} + rather than _scc_ "...". The latter + will be phased out in due course. + + + A new experimental optimisation, SpecConstr, is turned + on with -O2. + + + Please report bugs using the SourceForge bug + tracker instead of + glasgow-haskell-bugs@haskell.org if + possible. + + + Documentation changes: there's now a useful Flag + Reference section, see . + + + Many, many, bugfixes. + + + + + + New experimental features + + + + A “front panel” for GHC-compiled programs + displays real-time graphs of memory behaviour in a GTK+ + window. You need to recompile the RTS with front panel + support to use this. + + + + + + FFI changes + + + hsc2hs added (). + + + FFI libraries have been updated to the latest proposal + from the FFI task force. Too many changes to list here, see + the docs: . @@ -26,7 +110,43 @@ User-visible library changes - FFI libraries enhanced, lots of deprecations. + putMVar now blocks if the + MVar is already full. The + PutFullMVar exception no longer exists. A + non-blocking version of putMVar, + tryPutMVar, has been added (). + + + The Integer type now has an instance + of Bits (). + + + Package hssource has been added. It + contains a Haskell 98 abstract syntax, parser, lexer and pretty + printer. No documentation yet. + + + + + + Build system changes + + + + The WithGhcHc setting in + build.mk has been replaced by the + --with-ghc=ghc + option to configure. The new option + must be used if you intend to use + anything except “ghc” to + bootstrap GHC, in order that the build system can figure out + what version of GHC you're using. + + + Source distributions are now made by doing make + distclean in a build tree, instead of requiring a + linked build tree. @@ -35,10 +155,18 @@ Internal changes + Many internal compiler changes: too many to list + here. + + The old perl driver has been removed and replaced by a driver in the compiler proper. + We now use GMP 3 instead of GMP 2 for + arbitrary-precision integer support. + + Several libraries rewritten to use the FFI.