Newer Older
rrt's avatar
rrt committed

    The (Interactive) Glasgow Haskell Compiler -- version 5.02
4 5 6

We are pleased to announce a new major release of the Glasgow Haskell
Compiler (GHC), version 5.02.  
rrt's avatar
rrt committed

This is the first version of GHC that has all of the following:
rrt's avatar
rrt committed

11 12 13 14
  * An interactive read-eval-print loop, similar to Hugs.
    You can load a mixture of compiled and interpreted modules;
    in particular, you automatically use the precompiled libraries,
    so your "interpreted" programs often run pretty fast.
rrt's avatar
rrt committed

16 17 18 19
  * Works solidly on Windows platforms.  Installation is simple
    (Installshield); you don't have to install anything else; 
    and GHC does not get confused if you also happen to 
    have (say) Cygwin installed.
rrt's avatar
rrt committed

21 22 23 24 25 26 27 28 29 30 31 32 33
  * Implements the changes adopted for the (now almost finalised)
    Revised Haskell 98 Language and Library Reports.

  * The ability to emit "External Core", a documented typed 
    intermediate language, suitable for slurping up into other
    tools.  [Andrew Tolmach's work.]

  * A particularly thorough pre-release test programme.
    Some releases are more solid than others; this one is
    at the solid end of the spectrum.  We fondly hope.

So if you have been waiting to upgrade your GHC 4.08, this is 
the moment. 
rrt's avatar
rrt committed

35 36 37 38

How to get it
The easy way is to go to the WWW page, which should be self-explanatory:
rrt's avatar
rrt committed

rrt's avatar
rrt committed
rrt's avatar
rrt committed

42 43 44 45 46 47 48 49 50 51 52
We supply binary builds in the native package format for various
flavours of Linux and BSD, and in InstallShield form for Windows
folks.  Everybody else gets a .tar.gz which can be installed where you

Once you have the distribution, please follow the pointers in the
README file to find all of the documentation about this release.

The source distribution is freely available via the World-Wide Web,
under a BSD-style license.  See below for download details.  Pre-built
packages for Linux, FreeBSD, Solaris and Win32 are also available.
rrt's avatar
rrt committed
53 54

55 56
More details about what's new

5.02 incorporates many small refinements and bug fixes over the previous 
59 60 61 62 63 64
stable release (5.00.2).  There are no major language changes.

   - Implements Haskell 98 (revised)

   - Ability to emit External Core.  (But GhC can't read External Core
     back in.  Yet.)

66 67 68
   - Much improved support for Windows platforms.  Binary builds are
     now entirely freestanding.  There's no need to install Cygwin or
     Mingwin to use it.  It's a one-click-install-and-off-you-go story now.
rrt's avatar
rrt committed

70 71
   - Several small changes to bring GHC into line with the newest Haskell 98 
rrt's avatar
rrt committed

   - GHCi (the interactive system) now works on Windows.
rrt's avatar
rrt committed

75 76
   - Partial FFI support in GHCi.  At the moment, foreign import (both
     static and dynamic) is supported on x86 and sparc platforms.
rrt's avatar
rrt committed

   - A compacting garbage collector, to try and reduce space use.
rrt's avatar
rrt committed

80 81 82 83
   - Ability to disconnect built-in numeric syntax from the supplied 
     Prelude. This allows you to define your own arithmetic packages,
     which Haskell98 doesn't quite support.

   - Experimental: partial support for hierarchical module names.
rrt's avatar
rrt committed

86 87 88 89
   - Experimental: following heroic hacking by Ken Shan, 5.02 now
     works on Alpha (Tru64 only).  Many 64-bit bugs have been shaken
     out.  At the moment only the batch-mode compiler works -- no GHCi
     or native code generator yet.
rrt's avatar
rrt committed

91 92 93 94 95
We've found and fixed more bugs than you could possibly imagine.  A
big thank-you to all those who reported bugs in the 5.00.X series.  We
claim to have fixed almost all reported bugs.  In general we've spent
a large amount of effort trying to improve the stability of the
system relative to 5.00.X.  (Famous last words ...)
rrt's avatar
rrt committed
96 97 98

For full details see the release notes:

rrt's avatar
rrt committed
100 101

102 103 104 105
Haskell is a standard lazy functional programming language; the
current language version is Haskell 98, agreed in December 1998.
rrt's avatar
rrt committed

107 108 109 110 111 112 113
GHC is a state-of-the-art programming suite for Haskell.  Included is
an optimising compiler generating good code for a variety of
platforms, together with an interactive system for convenient, quick
development.  The distribution includes space and time profiling
facilities, a large collection of libraries, and support for various
language extensions, including concurrency, exceptions, and foreign
language interfaces (C, whatever).
rrt's avatar
rrt committed

115 116 117 118
A wide variety of Haskell related resources (tutorials, libraries,
specifications, documentation, compilers, interpreters, references,
contact information, links to research groups) are available from the
Haskell home page at
rrt's avatar
rrt committed


GHC's Web page lives at
rrt's avatar
rrt committed

125 126

127 128
On-line GHC-related resources
rrt's avatar
rrt committed
129 130 131

Relevant URLs on the World-Wide Web:

rrt's avatar
rrt committed
132 133
GHC home page   
Haskell home page
rrt's avatar
rrt committed
134 135 136 137
comp.lang.functional FAQ

138 139
System requirements
To compile programs with GHC, you need a machine with 64+MB memory, GNU C
rrt's avatar
rrt committed
and perl. This release is known to work on the following platforms:
rrt's avatar
rrt committed

  * i386-unknown-{linux,freebsd,mingw32}
rrt's avatar
rrt committed
  * sparc-sun-solaris2
rrt's avatar
rrt committed
145 146 147 148

Ports to the following platforms should be relatively easy (for a
wunderhacker), but haven't been tested due to lack of time/hardware:

  * hppa1.1-hp-hpux{9,10}
rrt's avatar
rrt committed
150 151 152 153 154 155 156 157
  * i386-unknown-solaris2
  * alpha-dec-osf{2,3}
  * mips-sgi-irix{5,6}
  * {rs6000,powerpc}-ibm-aix

The builder's guide included in distribution gives a complete
run-down of what ports work; an on-line version can be found at

159 160 161

162 163
Mailing lists
164 165 166 167 168 169 170 171 172 173 174
We run mailing lists for GHC users and bug reports; to subscribe, use
the web interfaces at

There are several other haskell and ghc-related mailing lists on; for the full list, see

175 176 177 178 179 180
Please report bugs using our SourceForge page at

or send them to

181 182
GHC users hang out on  Bleeding
edge CVS users party on