
The (Interactive) Glasgow Haskell Compiler -- version 5.02.2 ============================================================== We are pleased to announce a new patchlevel release of the Glasgow Haskell Compiler (GHC), version 5.02.2. 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, Alpha(OSF) and Win32 are also available, or will appear shortly. Haskell is a standard lazy functional programming language; the current language version is Haskell 98, agreed in December 1998. 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, C++, whatever). 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 http://www.haskell.org/ GHC's Web page lives at http://www.haskell.org/ghc/ What's new in 5.02.2 ====================== Some important bugfixes: - fix for the long-standing "oversize heap-check" bug - networking library fixes: now works on Windows again - GHC's memory requirements should be improved over 5.02.1, especially when using --make. and many other minor fixes. How to get it =============== The easy way is to go to the WWW page, which should be self-explanatory: http://www.haskell.org/ghc/ 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 want. Once you have the distribution, please follow the pointers in the README file to find all of the documentation about this release. On-line GHC-related resources =============================== Relevant URLs on the World-Wide Web: GHC home page http://www.haskell.org/ghc/ Haskell home page http://www.haskell.org/ comp.lang.functional FAQ http://www.cs.nott.ac.uk/~gmh/faq.html System requirements ===================== To compile programs with GHC, you need a machine with 64+MB memory, GNU C and perl. This release is known to work on the following platforms: * i386-unknown-{linux,freebsd,mingw32} * sparc-sun-solaris2 * alpha-dec-osf3 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} * i386-unknown-solaris2 * 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 http://www.haskell.org/ghc/docs/latest/building/building-guide.html Mailing lists =============== We run mailing lists for GHC users and bug reports; to subscribe, use the web interfaces at http://www.haskell.org/mailman/listinfo/glasgow-haskell-users http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs There are several other haskell and ghc-related mailing lists on www.haskell.org; for the full list, see http://www.haskell.org/mailman/listinfo/ Please report bugs using our SourceForge page at http://sourceforge.net/projects/ghc/ or send them to glasgow-haskell-bugs@haskell.org. GHC users hang out on glasgow-haskell-users@haskell.org. Bleeding edge CVS users party on cvs-ghc@haskell.org.

"Julian Seward (Intl Vendor)"
The (Interactive) Glasgow Haskell Compiler -- version 5.02.2 ==============================================================
We are pleased to announce a new patchlevel release of the Glasgow Haskell Compiler (GHC), version 5.02.2. 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, Alpha(OSF) and Win32 are also available, or will appear shortly.
There are now binary RPM packages for x86/Linux built with RedHat 7.2 (against glibc 2.2): ftp://ftp.cse.unsw.edu.au/pub/users/chak/jibunmaki/i386/ghc-5.02.2-1.i386.rpm ftp://ftp.cse.unsw.edu.au/pub/users/chak/jibunmaki/i386/ghc-prof-5.02.2-1.i386.rpm ftp://ftp.cse.unsw.edu.au/pub/users/chak/jibunmaki/i386/ghc-doc-5.02.2-1.i386.rpm The ghc-prof package contains optional libraries for profiling and the ghc-doc package contains optional documentation. The preformatted documentation is also available online from the GHC Web page. The matching source RPM is at ftp://ftp.cse.unsw.edu.au/pub/users/chak/jibunmaki/src/ghc-5.02.2-1.src.rpm Cheers, Manuel

Here are SuSE RPMs (built with SuSE 7.3 but I guess they also work with earlier versions):
http://www.informatik.uni-bonn.de/~ralf/ghc-5.02.2-1.i386.rpm http://www.informatik.uni-bonn.de/~ralf/ghc-prof-5.02.2-1.i386.rpm
Just tried them out and something seems to be wrong... I'm running SuSE 7.3. This simple program,
module Main where main :: IO() main = do putStr "n:" n <- readLn :: IO(Int) print n
Used to work fine with ghc 5.00.2, that is, it would print "n:", then wait for the input, and finaly print n. With Ghc 5.02.2 it only prints "n:" after reading the n. Unless I'm missing something here it seems like a bug to me. Haven't tried installing from the tarball yet. J.A. P.S.: It's good to see that SuSE ghc rpms are beeing maintained, thanks!

"Jorge Adriano"
...
module Main where main :: IO() main = do putStr "n:" n <- readLn :: IO(Int) print n
Used to work fine with ghc 5.00.2, that is, it would print "n:", then wait for the input, and finaly print n. With Ghc 5.02.2 it only prints "n:" after reading the n.
Unless I'm missing something here it seems like a bug to me. Haven't tried installing from the tarball yet.
It's actually expected behaviour with the current IO implementation - you have to explicitly flush stdout before reading from stdin (if stdout is buffered, that is). FWIW, I don't think this is the Right behaviour either. --sigbjorn

module Main where main :: IO() main = do putStr "n:" n <- readLn :: IO(Int) print n
Used to work fine with ghc 5.00.2, that is, it would print "n:", then wait for the input, and finaly print n. With Ghc 5.02.2 it only prints "n:" after reading the n. <snip>
It's actually expected behaviour with the current IO implementation - you have to explicitly flush stdout before reading from stdin (if stdout is buffered, that is).
FWIW, I don't think this is the Right behaviour either.
Well it seems at least quite annoying, not to mention that lots of programs will 'break'. When was this behaviour changed? And why? J.A.
participants (4)
-
Jorge Adriano
-
Julian Seward (Intl Vendor)
-
Manuel M. T. Chakravarty
-
Sigbjorn Finne