07.01.2014 Views

The Glorious Glasgow Haskell Compilation System User's Guide ...

The Glorious Glasgow Haskell Compilation System User's Guide ...

The Glorious Glasgow Haskell Compilation System User's Guide ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>The</strong> <strong>Glorious</strong> <strong>Glasgow</strong> <strong>Haskell</strong><br />

<strong>Compilation</strong> <strong>System</strong> User’s <strong>Guide</strong>,<br />

Version 6.10.4 3 / 224<br />

Unstable snapshots We may make snapshot releases of the HEAD available for download, and the latest sources are available<br />

from the darcs repositories.<br />

Unstable snapshot releases are named x.y.YYYYMMDD. where YYYYMMDD is the date of the sources from which the snapshot<br />

was built. For example, 6.7.20040225 would be a snapshot of the HEAD before the creation of the 6.8 branch.<br />

<strong>The</strong> value of __GLASGOW_HASKELL__ for a snapshot release is the integer xyy. You should never write any conditional<br />

code which tests for this value, however: since interfaces change on a day-to-day basis, and we don’t have finer granularity<br />

in the values of __GLASGOW_HASKELL__, you should only conditionally compile using predicates which test whether<br />

__GLASGOW_HASKELL__ is equal to, later than, or earlier than a given major release.<br />

<strong>The</strong> version number of your copy of GHC can be found by invoking ghc with the --version flag (see Section 4.5).<br />

1.5 Release notes for version 6.10.4<br />

6.10.4 is a bugfix release over 6.10.3. Very few changes have been made. <strong>The</strong>y are listed below.<br />

• Fixed a segfault that could occur when calling mkWeakForeignEnv#.<br />

• Fixed a crash that could occur when calling unblock inside unsafePerformIO.<br />

• Stop primops such as readMutVar# being inlined, which can cause loss of referential transparency.<br />

• Fixed a bug that meant ctrl-C was ignored by processes we run with runProcess.<br />

• Fixed a bug where gcc processes run by GHC get killed on Mac OS X 10.4.11.<br />

• Fixed a bug where processes on Windows could hold file handles open after they had finished, leading to permission denied<br />

errors.<br />

• GHCi only uses Haskeline if the input is a terminal.<br />

• Fixed building with newer versions of MSYS binutils.<br />

1.6 Release notes for version 6.10.3<br />

6.10.3 is a bugfix release over 6.10.2. Very few changes have been make. <strong>The</strong>y are listed below.<br />

• Control-C now works again in GHCi. In 6.10.2 it was ignored on some platforms due to the changes in signal handling.<br />

• GHCi uses Haskeline, rather than editline, for line editing. This fixes a crash when pressing control-C on some platforms,<br />

removes a C library dependency, and provides a better user interface.<br />

• It is now possible to build PDF and PS versions of the users guide, using dblatex.<br />

1.7 Release notes for version 6.10.2<br />

6.10.2 is a bugfix release over 6.10.1. Many bugs in the compiler, libraries and build system have been fixed. However, most<br />

library APIs have not changed, so code that worked with 6.10.1 should continue to work with 6.10.2. <strong>The</strong> notable bug fixes are<br />

listed below.<br />

• Setting stdin to NoBuffering now works on Windows.<br />

• <strong>System</strong>.FilePath.dropTrailingPathSeparator "\\" will now return "\\" rather than "".<br />

• <strong>The</strong> compatibility Control.OldException functions now catch new-style exceptions as DynExceptions.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!