[commit: ghc] wip/pattern-synonyms's head updated: Store IfExtNames for PatSyn matchers and wrappers in interface file, and reconstruct PatSyn type from the corresponding matcher function's type. (bbe9e7c)

git at git.haskell.org git at git.haskell.org
Sun May 25 06:15:45 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

Branch 'wip/pattern-synonyms' now includes:

     4fb94ae [project @ 2001-06-28 14:15:04 by simonmar] First cut of the Haskell Core Libraries =======================================
     d4514dc [project @ 2001-06-29 09:41:37 by simonmar] merge fptools/hslibs/lang/ST.lhs rev. 1.4
     dfbab25 [project @ 2001-06-29 09:44:03 by simonmar] merge ghc/lib/std/CPUTime.hsc rev. 1.7
     d5fe1da [project @ 2001-07-03 09:02:05 by simonmar] add paragraph about capitalisation of module names
     b5925b0 [project @ 2001-07-03 09:21:46 by simonmar] Add a paragraph on when to pluralize(*) a module name
     b4358ba [project @ 2001-07-03 11:37:49 by simonmar] Latest round of changes, incorporating:
     900b4a1 [project @ 2001-07-03 11:38:07 by simonmar] add new file
     020857d [project @ 2001-07-03 14:13:32 by simonmar] Move generic Maybe and Either definitions from GHC.Maybe to Data.Maybe and Data.Either, and remove GHC.Maybe.
     a335549 [project @ 2001-07-03 14:17:23 by simonmar] GHC.Maybe isn't used any more (contents moved to Data.Maybe and Data.Either).
     5760684 [project @ 2001-07-04 10:48:16 by simonmar] bugfix in yesterday's changes.
     38cfe4f [project @ 2001-07-04 10:48:39 by simonmar] Add 4 new libraries
     b7dc61f [project @ 2001-07-04 10:51:09 by simonmar] oops, better import Prelude
     bca479a [project @ 2001-07-04 11:06:39 by simonmar] Add Generics library
     4fd8a5f [project @ 2001-07-04 11:29:26 by simonmar] need to import Data.Tuple explicitly to get dependencies right.
     5743073 [project @ 2001-07-04 11:30:52 by simonmar] Add Prelude imports.
     eb7eff6 [project @ 2001-07-04 12:06:33 by simonmar] Add 	showListWith :: (a -> ShowS) -> [a] -> ShowS
     d69a177 [project @ 2001-07-04 12:07:27 by simonmar] Add Numeric library here for the time being.  This is a combination of the H98 Numeric library and a few functions from GHC's NumExts.
     f9dc6de [project @ 2001-07-05 10:38:33 by simonmar] Makefile for the document.
     c5175d4 [project @ 2001-07-05 13:52:49 by simonmar] Latest revisions:
     6d51c89 [project @ 2001-07-31 11:51:09 by simonmar] Catch up with changes in the main tree.
     ba4d349 [project @ 2001-07-31 11:59:08 by simonmar] merge fptools/ghc/lib/std/PrelHandle.hsc rev. 1.11
     a9a4106 [project @ 2001-07-31 12:46:17 by simonmar] merge fptools/ghc/lib/std/IO.hsc rev. 1.6
     60ca3a6 [project @ 2001-07-31 12:47:13 by simonmar] merge fptools/ghc/lib/std/PrelHandle.hsc rev. 1.12
     6b8b2ca [project @ 2001-07-31 12:48:13 by simonmar] merge fptools/ghc/lib/std/PrelPosix.hsc rev. 1.8
     c165440 [project @ 2001-07-31 12:48:55 by simonmar] merge fptools/ghc/lib/std/PrelHandle.hsc rev. 1.13
     2c885c9 [project @ 2001-07-31 12:50:18 by simonmar] merge fptools/ghc/lib/std/CPUTime.hsc rev. 1.8
     f33325e [project @ 2001-07-31 12:51:37 by simonmar] merge ghc/lib/std/PrelTopHandler.lhs rev. 1.3
     447dad3 [project @ 2001-07-31 12:52:37 by simonmar] add file from main tree.
     d6acc44 [project @ 2001-07-31 12:58:00 by simonmar] merge ghc/lib/std/PrelInt.lhs rev. 1.16-1.18
     5224e42 [project @ 2001-07-31 12:59:30 by simonmar] merge ghc/lib/std/PrelCError.lhs rev. 1.10
     79d5bed [project @ 2001-07-31 13:00:26 by simonmar] merge ghc/lib/std/PrelGHC.hi-boot rev. 1.57
     2935d84 [project @ 2001-07-31 13:03:28 by simonmar] merge ghc/lib/std/PrelHandle.hsc rev. 1.15
     123fb75 [project @ 2001-07-31 13:05:02 by simonmar] merge ghc/lib/std/Time.hsc rev. 1.17
     a177664 [project @ 2001-07-31 13:05:33 by simonmar] merge ghc/lib/std/Time.hsc rev. 1.18
     5800c82 [project @ 2001-07-31 13:06:09 by simonmar] merge ghc/lib/std/Time.hsc rev. 1.19
     a5c9e37 [project @ 2001-07-31 13:06:51 by simonmar] merge ghc/lib/std/PrelEnum.lhs rev. 1.14
     fbabc47 [project @ 2001-07-31 13:09:11 by simonmar] merge ghc/lib/std/Num.lhs rev. 1.40
     82840a5 [project @ 2001-07-31 13:10:01 by simonmar] merge ghc/lib/std/PrelStorable.lhs rev. 1.8
     018bd0f [project @ 2001-07-31 13:11:07 by simonmar] merge ghc/lib/std/PrelErr.lhs rev. 1.20
     8448667 [project @ 2001-07-31 13:11:40 by simonmar] merge ghc/lib/std/PrelErr.lhs rev. 1.21
     354e601 [project @ 2001-07-31 13:14:01 by simonmar] merge ghc/lib/std/PrelList.lhs rev. 1.25
     1e81784 [project @ 2001-07-31 13:28:58 by simonmar] merge hslibs/lang/ArrayBase.lhs rev. 1.17-1.18
     7c9589c [project @ 2001-07-31 13:31:44 by simonmar] merge hslibs/lang/ST.lhs rev. 1.14
     911ea3e [project @ 2001-07-31 13:38:10 by simonmar] merge hslibs/lang/ArrayBase.lhs rev. 1.19
     17f3053 [project @ 2001-07-31 14:34:23 by simonmar] add a couple of useful variants of catch & catchJust:
     4528993 [project @ 2001-07-31 14:36:19 by simonmar] add missing #include
     250b405 [project @ 2001-07-31 16:35:29 by simonmar] use the eqForeignPtr primop
     cd9ef85 [project @ 2001-07-31 16:41:32 by simonmar] Add the template package config, and move some of the makefile code out into ../mk/target.mk.
     316a7d2 [project @ 2001-08-01 13:53:07 by simonmar] Add Andy Gill's HTML combinator library.
     d65df60 [project @ 2001-08-02 11:20:50 by simonmar] Add a POSIX regular expression binding as Text/Regex/Posix.  POSIX regexps are provided virtually everywhere (except Windows, but there's always pcre), and this means we won't have to ship the a copy of GNU regex.c, which is GPL'ed.
     45c5a17 [project @ 2001-08-02 13:30:36 by simonmar] Don't export non-H98 functions
     6906afe [project @ 2001-08-07 15:25:04 by simonmar] Remove 'fork' (unsafe, and not used), and don't export 'seq' and 'par'.
     d1ddd69 [project @ 2001-08-17 12:44:54 by simonmar] Add FiniteMap from package data.
     2be6368 [project @ 2001-08-17 12:45:27 by simonmar] Move System.IO.Directory to System.Directory
     c4ed33b [project @ 2001-08-17 12:46:16 by simonmar] Add default pretty printing library (Text.PrettyPrint.HughesPJ).
     da7d6b7 [project @ 2001-08-17 12:46:40 by simonmar] Add default pretty printing library.
     da8fe7b [project @ 2001-08-17 12:47:10 by simonmar] Copy from ghc/lib/std/cbits
     8adea3a [project @ 2001-08-17 12:47:47 by simonmar] Add a Makefile (for installing the includes)
     0f54f44 [project @ 2001-08-17 12:48:38 by simonmar] Add QuickCheck from package util.
     a0aef53 [project @ 2001-08-17 12:50:34 by simonmar] Track updates to ghc/lib/std and hslibs.
     3cc3816 [project @ 2001-08-30 13:36:00 by simonmar] fix a few typos and add some clarifications
     d06189a [project @ 2001-09-13 11:35:09 by simonmar] Add System.Mem directory
     2194ef4 [project @ 2001-09-13 11:36:52 by simonmar] make this compile
     10fd991 [project @ 2001-09-13 11:37:08 by simonmar] add missing import; make it compile
     fd2801a [project @ 2001-09-13 11:37:43 by simonmar] remove a couple of unused imports
     3f12694 [project @ 2001-09-13 11:38:54 by simonmar] cosmetic only: separate the IOErrorType declaration into Haskell 98 and non-Haskell 98 sections.
     da78e1e [project @ 2001-09-13 11:39:14 by simonmar] Fix the module header
     81d1634 [project @ 2001-09-13 11:39:58 by simonmar] Use withForeignPtr rather than passing ForeignPtrs directly to foreign imported functions.
     078953f [project @ 2001-09-13 11:40:28 by simonmar] remove get_prog_arg{c,v} prototypes
     bdbc6e0 [project @ 2001-09-13 11:50:35 by simonmar] Add Set (from package data)
     09c1852 [project @ 2001-09-13 15:34:17 by simonmar] remove unused import
     9866830 [project @ 2001-09-14 11:25:23 by simonmar] - replace PackedString implementation with one based on UArray.  It hasn't   been tuned for performance yet, and it seems that not enough fusion is   happening yet, but in theory it should be nearly as fast as the old   implementation (modulo the fact that the new packed string representation   used 32-bit chars vs. 8-bit chars in the old implementation).
     0bdbe8b [project @ 2001-09-14 11:25:57 by simonmar] Remove inline functions from GHC.Handle and GHC.IO, and declare them as 'extern inline' in HsCore.h.
     4cb5bac [project @ 2001-10-18 11:10:19 by rrt] Remove STGHUGSery.
     b83cfb9 [project @ 2001-10-18 11:14:17 by rrt] Remove comment that was for STGHUGS.
     ceb68b9 [project @ 2001-12-21 15:07:20 by simonmar] Merge up to the ghc/lib/std on the HEAD (tagged as new-libraries-last-merged).
     56d4524 [project @ 2002-01-02 14:40:09 by simonmar] Make this compile again, and update with latest changes from hslibs/lang.
     2a42c35 [project @ 2002-01-02 15:01:27 by simonmar] import Prelude explicitly (this is necessary in libraries/core so that ghc --make can infer correct dependencies).
     19bf2f2 [project @ 2002-01-02 15:01:44 by simonmar] Fix the names of some foreign imports.
     ec3d22d [project @ 2002-01-02 15:13:23 by simonmar] We need GHC/Prim.hi for when the package is built, although we only use GHC/Prim.hi-boot during building.
     aadbf09 [project @ 2002-02-05 17:32:24 by simonmar] - Merging from ghc/lib/std - Add System.IO.Error - Now builds without --make, so we can do -split-objs
     c89b528 [project @ 2002-02-06 10:14:26 by simonmar] There's no need for this to be a .hsc file.  I'm moving towards libraries/core being .hsc-free, so eventually this can be used for bootstrapping.
     8fbb1c4 [project @ 2002-02-06 10:40:26 by simonmar] Building the cbits library is simpler with UseGhcForCC=YES.
     14bd795 [project @ 2002-02-06 11:49:32 by simonmar] #include <stdlib.h>
     9b7636b [project @ 2002-02-06 11:50:31 by simonmar] Back off: don't use UseGhcForCc as a magic way to get the right include paths, because we still need to tell mkdependC about them.
     c42e3e7 [project @ 2002-02-06 11:51:12 by simonmar] - change package name to "base" - make GHC/PrimopWrappers work.
     91890c6 [project @ 2002-02-07 11:13:29 by simonmar] Various updates after rearranging the directory structure in the repository (there wasn't any history worth keeping, and it's better to do this now before we go 'live').
     91ceefe [project @ 2002-02-11 12:27:34 by simonmar] These files aren't necessary any more.
     81759ad [project @ 2002-02-11 12:28:04 by simonmar] Final part of QuickCheck from hslibs/utils.
     8294089 [project @ 2002-02-11 12:28:31 by simonmar] Export the various memcpy functions (following ghc/lib/std/PrelIO.hs)
     812e0e5 [project @ 2002-02-11 12:28:57 by simonmar] Export runMain (following ghc/lib/std/PrelTopHandler.lhs)
     82009cd [project @ 2002-02-11 12:29:13 by simonmar] HsCore ==> HsBase
     2e98b12 [project @ 2002-02-11 12:31:30 by simonmar] - Don't forget System/Console - Add -fglasgow-exts and -cpp here rather than mk/target.mk
     2b944de [project @ 2002-02-11 16:11:38 by simonmar] Add missing Show instance for Ptr.
     3be5332 [project @ 2002-02-11 17:10:56 by simonmar] don't forget -funbox-strict-fields for GHC.IOBase
     1d2fd05 [project @ 2002-02-11 17:11:12 by simonmar] New module from ghc/lib/std.
     4a8a7df [project @ 2002-02-11 17:30:57 by simonmar] Add code to build/install the split version of this library on Windows (untested).  It may be that the base library has grown sufficiently to warrant being split into 3 now, or we may need to orgnise the splitting criteria a little better.  Feedback from someone with a Win32 build would be welcome (once I've checked the rest of the changes in).
     93c7ce3 [project @ 2002-02-12 09:39:19 by simonmar] Merge rev. 1.61 of ghc/lib/std/PrelBase.lhs
     30f1170 [project @ 2002-02-12 10:50:03 by simonmar] The new home for performGC.
     0280956 [project @ 2002-02-12 10:50:37 by simonmar] Make this build: OPTIONS -fparr and place it above the Prelude in the dependency tree.
     4ab1eb1 [project @ 2002-02-12 10:51:06 by simonmar] Export h{Get,Set}Echo, and hIsTerminalDevice
     7dca863 [project @ 2002-02-12 10:52:18 by simonmar] Place this below the Prelude in the dependency tree, so we can import it in Foreign.Ptr without creating a loop.
     2eb8067 [project @ 2002-02-12 10:52:47 by simonmar] wibbles
     d6db874 [project @ 2002-02-12 15:17:34 by simonmar] Switch over to the new hierarchical libraries ---------------------------------------------
     a5aeb37 [project @ 2002-02-12 15:51:26 by simonmar] Remove fromInt/toInt
     6a5400d [project @ 2002-02-13 10:17:29 by simonmar] include <limits.h> to get PATH_MAX
     aadca45 [project @ 2002-02-13 10:43:15 by simonpj] Use C comments not Haskell comments; ghc-pkg doesnt understand the latter
     a06ba1a [project @ 2002-02-13 11:51:40 by simonmar] - Detect presence of a POSIX-compatible regex interface in configure,   and omit Text.Regex.Posix (and hence Text.Regex) if it is missing.   ToDo: pull in a suitably-licensed implementation of POSIX regex   to be used in the event that the system doesn't supply one.
     3807ed7 [project @ 2002-02-13 11:52:42 by simonmar] Remove a ToDo
     462a416 [project @ 2002-02-13 12:12:08 by simonmar] Make this build on mingw32 (hopefully)
     6fba759 [project @ 2002-02-13 12:17:14 by simonmar] import Prelude
     940f32e [project @ 2002-02-13 12:21:21 by simonmar] Merge inputReady.c from ghc/lib/std
     14e3ec8 [project @ 2002-02-13 14:26:01 by simonmar] Move c_unlink foreign import outside #ifdef mingw32_TARGET_OS
     d171497 [project @ 2002-02-14 07:31:03 by sof] Time stubs (for mingw)
     2623394 [project @ 2002-02-14 07:31:34 by sof] hook in timeUtils.h
     fb2142f [project @ 2002-02-14 07:32:17 by sof] mingw: support timezone and tzname (as before)
     53fee2b [project @ 2002-02-14 07:33:09 by sof] move half a dozen non-mingw f-imports into approp. ifdef section
     284990d [project @ 2002-02-14 13:59:20 by simonmar] Import FreeBSD's regex library
     097df6a [project @ 2002-02-14 13:59:21 by simonmar] Initial revision
     1315c81 [project @ 2002-02-14 14:01:38 by simonmar] <regex.h> ==> "regex.h"
     dd0df11 [project @ 2002-02-14 14:03:25 by simonmar] Remove support for "collate" which appears to be a locale-independent way of interpreting character ranges like [a-z].  Anyway it relies on stuff internal to FreeBSD's libc which doesn't appear to be easy to extract, so just disable it.
     a64abb7 [project @ 2002-02-14 14:05:12 by simonmar] FreeBSD regex library requires reallocf(), a FreeBSD-specific flavour of realloc(), so include it here.
     653ce69 [project @ 2002-02-14 14:05:48 by simonmar] Include regex stuff if $(HavePosixRegex) == "NO"
     cf20c1f [project @ 2002-02-14 14:07:16 by simonmar] Also import FreeBSD's regex.h
     29f017b [project @ 2002-02-14 14:08:25 by simonmar] Use cbits/regex if the system doesn't have a POSIX-compatible regular expression library.
     94f887f [project @ 2002-02-14 14:08:50 by simonmar] Catch up with changes to the foreign import syntax.
     96e0216 [project @ 2002-02-14 15:14:02 by simonmar] Fixes to 'make install' in fptools/libraries.  We have to maintain the directory structure when installing the .hi files, rather than just dumping them in a single directory as we do for packages in fptools/hslibs.
     9668657 [project @ 2002-02-15 11:26:02 by simonpj] mingw32 doesn't define _POSIX2_RE_DUP_MAX, it seems
     d3e0af2 [project @ 2002-02-15 11:27:03 by simonpj] - include <sys/types.h> rather than non-std <sys/cdefs.h> - remove use of __P-style prototypes
     a6c2f10 [project @ 2002-02-15 11:28:47 by simonpj] Remove __P from prototypes
     2f68fca [project @ 2002-02-16 18:04:28 by simonmar] Must #include <sys/types.h> before regex.h
     ac8a1df [project @ 2002-02-17 15:22:11 by panne] Synch import_dirs with the result of "make install". It could have been fixed the other way round, but fixing the config files makes more sense to me. Furthermore, I've got a 50% chance of taking the correct route by pure accident... ;-)
     fc84d36 [project @ 2002-02-17 20:05:35 by panne] Install GHC.Prim interface file, too... *sigh*
     3d4cbc2 [project @ 2002-02-17 20:08:56 by panne] Add missing commas...   >:-(
     73fd86e [project @ 2002-02-26 18:19:17 by ross] New Control.Arrow module, plus Arrow stub (in lang) for compatability.
     850446d [project @ 2002-02-27 14:31:44 by simonmar] remove unnecessary import of GHC.Prim
     de74d2e [project @ 2002-02-27 14:32:23 by simonmar] Define hTell in GHC.Handle, and export it from System.IO
     8dc326e [project @ 2002-02-27 14:33:09 by simonmar] Move the Float/Double constant folding rules from GHC.Float to GHC.Base, thus returning GHC.Float to its non-orphan status.
     a88f4e3 [project @ 2002-03-04 17:02:43 by simonmar] - generate GHC/Prim.hi from GHC/Prim.hi-boot using ghc --compile-iface - compile the whole lot with -funbox-strict-fields
     fc033a9 [project @ 2002-03-04 17:25:36 by panne] Export modifySTRef, too
     b05d975 [project @ 2002-03-05 14:31:47 by simonmar] The interface file for GHC.Prim is now built-in to the compiler, and mostly automatically generated.
     aa8f96f [project @ 2002-03-11 14:53:51 by simonmar] Use updated FFI syntax
     9cd0f82 [project @ 2002-03-14 12:09:49 by simonmar] Eliminate some orphan-instance modules to speed up compilation.
     9295636 [project @ 2002-03-14 16:26:40 by simonmar] Add class Splittable that accidentally got dropped on the floor when we moved over to the new libraries.
     3b376f0 [project @ 2002-03-15 12:42:39 by simonmar] Convert to new syntax
     25f91cb [project @ 2002-03-15 12:45:12 by simonmar] This doesn't appear to be used
     6141dee [project @ 2002-03-18 14:03:20 by simonmar] Fix silly bug I noticed unpackAcc, which apparently is not triggered.
     079e705 [project @ 2002-03-19 10:59:01 by simonmar] Use new form of FFI declarations
     4a7079b [project @ 2002-03-19 11:24:51 by simonmar] Fix 64-bit shift operations.
     1fc6ee2 [project @ 2002-03-20 15:38:36 by simonmar] convert to new-style FFI declarations
     531934f [project @ 2002-03-22 10:20:24 by simonmar] This module now lives above the Prelude in the dependency tree.
     9e18cb4 [project @ 2002-03-25 05:23:53 by sof] provide isblank() for Win32
     282a245 [project @ 2002-03-25 05:25:27 by sof] make splitting of HSbase.o work (mingw only)
     ddce1d0 [project @ 2002-03-25 15:49:26 by sof] make HSbase splitting a mingw-only affair (and a sorry one, at that.)
     9b78160 [project @ 2002-03-26 10:44:32 by simonmar] sigaddset returns a CInt, not ()
     b7db2ac [project @ 2002-03-26 10:53:03 by simonmar] sigaddset() can be a macro, so add an wrapper around it (inlined in via-C mode).  I didn't bother with the #ifdef darwin_TARGET_OS around this change since it doesn't hurt on other architectures.
     7751d5d [project @ 2002-03-26 17:03:08 by simonmar] Add type signatures for isAlreadyExistsErrorType & friends
     3294e5f [project @ 2002-03-26 17:06:32 by simonmar] Add some missing type signatures
     0c19e67 [project @ 2002-03-26 17:09:52 by simonmar] Update foreign import declaration to new syntax
     517c086 [project @ 2002-03-26 17:11:15 by simonmar] Update to new FFI syntax
     8babd81 [project @ 2002-03-26 20:18:28 by sof] mingw32: drop msvcrt from extra_libraries list
     77f9723 [project @ 2002-03-26 21:02:19 by sof] cygwin: stick with system()
     bd0e9f9 [project @ 2002-03-26 21:07:06 by sof] make it work with cygwin again
     e580c66 [project @ 2002-03-26 23:50:56 by sof] To make cygwin/mingw interworking a little bit simpler, use the __MINGW32__ define rather than config.h's mingw32_TARGET_OS
     d5cce22 [project @ 2002-03-27 17:55:26 by simonmar] Fix cut-n-pasto  (the testsuite actually showed up something useful!)
     a133f05 [project @ 2002-04-01 09:19:18 by simonpj] Remove Ix context from STArray data type. Data type contexts are evil.  H98 says they even apply for pattern matching, which GHC didn't implement till now --- and that forces Ix even on equality of STArrays. No, no, no.
     85e5a42 [project @ 2002-04-02 10:19:21 by simonmar] Add foldl', the strict version of foldl.
     6ba6fe1 [project @ 2002-04-02 15:33:34 by sof] don't bother defining __hscore_sigaddset() on mingw
     b77afa8 [project @ 2002-04-10 11:43:49 by stolz] Two new scheduler-API primops:
     36d4430 [project @ 2002-04-10 15:57:16 by simonmar] Update to newer FFI definition style
     76a82fd [project @ 2002-04-11 12:03:43 by simonpj] ------------------- 	Mainly derived Read 	-------------------
     16bc668 [project @ 2002-04-13 05:08:55 by sof] readIEEENumber: support reading IEEE-754 'special' values (NaN,Inf)
     6d3da36 [project @ 2002-04-13 14:59:06 by panne] Ugly hack to make `lex' H98-compliant again: lex "" should return [("","")], not []. This should probably be fixed elsewhere...
     0549a06 [project @ 2002-04-18 23:32:56 by sof] re-added Show instance for ThreadId
     8421673 [project @ 2002-04-24 11:17:53 by simonpj] "\Oxxx" and "\Xyyy" are not octal or hexadecimal escapes in Haskell 98, and should not be lexed as such.
     27c5dda [project @ 2002-04-24 15:47:10 by sof] Directory.Permissions.searchable: True iff S_ISDIR() and X bit set (was : !S_ISREG() and X) -- falls into line with what nhc98 and Hugs does
     c1253ce [project @ 2002-04-24 15:47:34 by simonmar] Update foreign import syntax
     bd0c347 [project @ 2002-04-24 16:01:51 by simonmar] Update foreign import syntax
     ea1718d [project @ 2002-04-24 16:09:12 by simonmar] Update foreign import syntax
     0183707 [project @ 2002-04-24 16:10:21 by simonmar] Omit the generic declarations when processing with Haddock, since the Haddock parser doesn't understand them (yet).
     13a593f [project @ 2002-04-24 16:13:26 by simonmar] Makefile rules for building HTML documentation using Haddock.  It's a bit rough around the edges so far, and I haven't added any actual documentation yet, but you can build Haddock (in fptools/haddock) and then say
     f014372 [project @ 2002-04-24 16:31:37 by simonmar] Add the single character '|' to the header comment of each module so that Haddock will parse it as the module documentation.
     63a85e7 [project @ 2002-04-24 17:57:55 by ross] haddock food.
     cf1acc8 [project @ 2002-04-26 12:31:06 by simonmar] Add a LICENSE
     f478c5a [project @ 2002-04-26 12:48:16 by simonmar] - Add proper module headers to these guys - Remove \$Id\$ - Update copyrights - Int.lhs and Word.lhs were just wrapped in \begin{code}..\end{code},   so make them .hs files instead.
     1d53e7e [project @ 2002-04-26 12:58:45 by simonmar] doc string wibble
     8b348ed [project @ 2002-04-26 13:26:39 by simonmar] We can cope with Control.Monad.Reader & friends now (Haddock can parse fundeps).
     6aa094d [project @ 2002-04-26 13:33:10 by simonmar] - Remove \$Id\$ - Fix comments that confuse Haddock
     1eb49e8 [project @ 2002-04-26 13:34:05 by simonmar] Remove \$Id\$ from all files: it isn't particularly useful (see previous discussion on cvs-ghc at haskell.org), and it confuses Haddock.
     c38c0d0 [project @ 2002-04-26 15:39:50 by lewie] Fix broken def of fixST.
     0fe6b08 [project @ 2002-04-28 02:01:00 by sof] \\begin{code} prefix missing
     ea54d6c [project @ 2002-05-02 15:20:02 by sof] extra_libraries(mingw): The Return of MSVCRT
     d33f77b [project @ 2002-05-03 08:39:17 by simonmar] Fix the build on Sparc-Solaris, hopefully without breaking it on Windows.
     5af37c0 [project @ 2002-05-06 06:51:00 by sof] timezone mingw fix, making this module resemble even more of a dog's dinner
     246a1e7 [project @ 2002-05-09 10:43:26 by simonmar] Omit the imports in Haddock, to avoid module recursion
     e9a4da6 [project @ 2002-05-09 10:43:42 by simonmar] We can process GHC.Err with Haddock now
     c427a78 [project @ 2002-05-09 13:05:46 by simonmar] Fix comments that are misinterpreted by Haddock
     f9efc41 [project @ 2002-05-09 13:09:30 by simonmar] singletonSet has been deprecated for a while; remove it now
     d66534a [project @ 2002-05-09 13:13:28 by simonmar] Add documentation Haddock-style
     6c9f614 [project @ 2002-05-09 13:14:42 by simonmar] tweak the module comment
     961034a [project @ 2002-05-09 13:15:07 by simonmar] Various tweaks needed to get the source processed cleanly with Haddock.
     cbe4350 [project @ 2002-05-09 13:16:29 by simonmar] Rename libraries/core to libraries/base in the module headers.
     95b47f8 [project @ 2002-05-09 13:28:30 by simonmar] Add a type signature for getClockTime
     ba4af98 [project @ 2002-05-10 08:35:05 by simonmar] import GHC.Ptr instead of Foreign.Ptr (I fixed the latter to export Ptr abstractly yesterday).
     b647b00 [project @ 2002-05-10 08:38:53 by simonmar] import GHC.Ptr to get the representation of Ptr.  This module should really be split into compiler-dep and indep. parts.
     8678a54 [project @ 2002-05-10 08:58:34 by simonmar] Convert these files from .lhs to .hs, and give them proper headers to match the style used in the rest of the libraries.
     d4fdc8b [project @ 2002-05-10 13:16:55 by simonmar] Add GHC/PrimopWrappers to EXTRA_SRCS
     6d89b63 [project @ 2002-05-10 13:17:27 by simonmar] - Add documentation to Control.Concurrent and friends - Other documentation tweaks
     6f9702f [project @ 2002-05-10 13:42:07 by simonmar] Add documentation
     17d7506 [project @ 2002-05-10 14:51:14 by simonmar] Add some documentation for IORef
     329155d [project @ 2002-05-10 14:52:00 by simonmar] give slurpFile, hGetBuf and hPutBuf reasonable behaviour for zero-sized files
     75f4492 [project @ 2002-05-10 15:41:33 by simonmar] More documentation
     bcb5a52 [project @ 2002-05-10 16:18:28 by simonmar] More documentation
     d84005c [project @ 2002-05-11 08:59:08 by panne] Now that Int is exported, it might be a good idea to import it first...
     88915b4 [project @ 2002-05-14 13:22:37 by simonmar] Replace qsort by mergesort, which is more reliable performance-wise. From: Ian Lynagh <igloo at earth.li>
     3a440b1 [project @ 2002-05-14 21:08:59 by sof] lexNumberBase: support negative exponents
     f9650ca [project @ 2002-05-15 09:00:00 by chak] * Added the options `-ffi' and `-fffi', which switch on FFI support   (`-fglasgow-exts' implies `-fffi').
     1b5a6b0 [project @ 2002-05-15 12:16:11 by simonmar] Fix non-Haddockish comments
     1d0511c [project @ 2002-05-15 12:17:18 by simonmar] Fix comment to avoid confusing Haddock
     1ce999f [project @ 2002-05-16 11:39:36 by simonmar] Happy -g currently requires GlaExts, which means it can't be used inside fptools/libraries (GlaExts comes from lang, and lang isn't built yet).  So, until I've fixed Happy and everyone has built & installed the vnew version...
     e1e5818 [project @ 2002-05-27 14:30:49 by simonmar] Define __HADDOCK__ for .hs files as well as .lhs files.
     7801cb1 [project @ 2002-05-27 14:31:06 by simonmar] Document Control.Exception and Data.Dynamic
     4529737 [project @ 2002-05-27 14:36:51 by simonmar] Documentation
     45c786b [project @ 2002-05-27 14:54:27 by simonmar] Add documentation
     af9b642 [project @ 2002-05-27 15:43:44 by simonmar] Documentation for System.Mem.Weak
     8b2db71 [project @ 2002-05-27 15:57:01 by simonmar] Documentation, such as it is
     aedfb63 [project @ 2002-05-28 10:38:50 by simonmar] Document Text.Regex.Posix and Text.Regex
     464de01 [project @ 2002-05-28 11:21:03 by simonmar] Add documentation
     1b8ad7d [project @ 2002-05-28 11:21:56 by simonmar] tweak documentationa
     119d39f [project @ 2002-05-28 11:41:29 by simonmar] Documentation tweaks
     cfd85d6 [project @ 2002-05-28 11:43:59 by simonmar] Export list tweak
     ca58f27 [project @ 2002-05-28 12:00:17 by simonmar] typo
     59d3cc6 [project @ 2002-05-28 12:03:06 by simonmar] Document
     d5f23e5 [project @ 2002-05-28 14:04:18 by simonmar] Fix mistake in 'evaluate'.
     47351d7 [project @ 2002-05-28 14:06:01 by simonmar] Add (minimal) documentation
     d9e75d6 [project @ 2002-05-28 15:04:54 by simonmar] Documentation
     b7e39d2 [project @ 2002-05-28 16:32:45 by simonmar] Documentation
     34352f3 [project @ 2002-05-28 16:33:46 by simonmar] Documentation for the overloaded array interfaces (currently a bit flaky due to a couple of shortcomings in Haddock).
     a155a4f [project @ 2002-05-28 19:22:04 by sof] make it compile
     edd63fd [project @ 2002-05-29 13:22:10 by simonmar] Don't need to escape single quotes
     99fb1fd [project @ 2002-05-29 13:27:04 by simonmar] fix case of markup inside bird tracks.
     79f4ce8 [project @ 2002-05-29 13:28:36 by simonmar] doc fixes
     6e681bc [project @ 2002-05-31 09:43:04 by panne] Added Show instance for FunPtr
     a85886b [project @ 2002-05-31 12:22:33 by panne] Moved Parsec to its new home
     13a70d1 [project @ 2002-06-03 13:19:37 by simonmar] IO.hGetContents ==> System.IO.hGetContents (in docs)
     7fa4fa4 [project @ 2002-06-04 19:12:53 by sof] PEi(x86) backends: The addition of Parsec to libraries/ put us over the limit for splitting HSbase into two parts (at least I couldn't find a good paritioning), we now need three. Fun and games.
     2bf1f14 [project @ 2002-06-04 19:13:31 by sof] Adjust to three-way split of HSbase + accommodate cygwin.
     a734568 [project @ 2002-06-05 11:30:38 by ross] documentation adjustments.
     62cf41f [project @ 2002-06-05 14:08:24 by simonpj] ------------------------------------------------ 	Fix the (new) lexer, and make the derived read 	and show code work according to the new H98 report 	------------------------------------------------
     704ce13 [project @ 2002-06-06 16:01:37 by simonpj] Win32 comment
     c2841cb [project @ 2002-06-06 16:03:16 by simonpj] Read instance for Array, plus some documentation
     72104bf [project @ 2002-06-08 13:11:27 by panne] Install HSbase3.o, too. NOTE: This is untested, but probably corrects the previous commit.
     27473ce [project @ 2002-06-08 14:14:08 by panne] Minor doc formatting improvement
     85947b6 [project @ 2002-06-09 14:20:06 by panne] Use :%, not % for Inf/NaN, the latter would immediately lead to a runtime error. Note that
     6a18f39 [project @ 2002-06-11 10:53:03 by simonmar] typo in email address (noticed by J?n Fairbairn, thanks J?n).
     37e6bac [project @ 2002-06-13 10:41:31 by simonmar] Some extra docs, from Jon Fairbairn
     326ca1a [project @ 2002-06-13 23:26:55 by sof] Provide STRefs over both lazy and strict ST monads as,
     38ef02a [project @ 2002-06-14 08:17:08 by simonpj] Add comment
     85e48ad [project @ 2002-06-18 09:31:05 by simonpj] -------------------------- 	Deal with NaN and Infinity 	--------------------------
     23e923d [project @ 2002-06-18 13:01:43 by simonmar] Fix bug in the implementation of hGetLine: on finding the EOF when we have a partial line in our hands, we weren't resetting the state of the buffer to empty, so the same partial line would be returned for each subsequent call to hGetLine.
     301802f [project @ 2002-06-18 13:58:22 by simonpj] --------------------------------------- 	    Rehash the handling of SeqOp 	---------------------------------------
     238e58e [project @ 2002-06-19 14:33:24 by simonmar] Remove this hack.  Happy 1.13 is now required to build GHC.
     b3f7a16 [project @ 2002-06-20 13:54:40 by simonmar] Add license from Andy Gill's HTML library
     26b212c [project @ 2002-06-20 14:56:11 by malcolm] Remove spurious comma in export list.
     b32e15d [project @ 2002-06-20 16:11:45 by simonmar] use $(includedir) and INSTALL_INCLUDES rather than overriding $(datadir)
     73210e5 [project @ 2002-06-20 16:12:58 by simonmar] Haddock stuff has moved to ../../mk/package.mk
     0da7603 [project @ 2002-06-21 09:12:37 by simonmar] Andy Gill asked me to remove his license to keep things simple.
     555ccfc [project @ 2002-06-21 14:00:32 by simonmar] Mention the package name in the Haddock title
     ea25fea [project @ 2002-06-24 14:40:02 by simonmar] Makefile updates for generating docs with Haddock:
     56b5187 [project @ 2002-06-26 08:18:45 by stolz] - Make TSO "stable" again: The thread label was changing the size of the    TSO if you were building a debugging-RTS, leading to binary    incompatibility. Now we map TSOs to strings using Hash.c.
     7158d54 [project @ 2002-06-27 13:40:37 by stolz] - forkProcess[Prim] wrapper - document forkProcess[Prim] & labelThread
     4e7a0c7 [project @ 2002-06-27 15:38:58 by simonmar] Finally fix foreign export and foreign import "wrapper" so that exceptions raised during the call are handled properly rather than causing the RTS to bomb out.
     92b386e [project @ 2002-06-27 17:19:01 by sof] theStdGen: initialise it via mkStdRNG (as was done in <= 5.02)
     0ca4afd [project @ 2002-07-01 11:37:35 by simonmar] Replace divInt# with a version which doesn't suffer from overflow problems (thanks to Dylan Thurston for the code).
     8a59647 [project @ 2002-07-01 18:50:54 by sof] closesocket() is stdcall-based
     b86afd9 [project @ 2002-07-02 10:28:54 by simonmar] Documentation for hSetBinaryMode
     8ea1560 [project @ 2002-07-02 10:31:35 by simonmar] Documentation for system
     42df532 [project @ 2002-07-02 10:33:23 by simonmar] Documentation for getProgName.
     eb74c19 [project @ 2002-07-02 10:34:52 by simonmar] Point the punters to the online report at haskell.org until the documentation for the Prelude is up to scratch.
     3f4ad5d [project @ 2002-07-02 13:13:36 by simonmar] Add descriptions to the top level of each package documentation
     be5e68d [project @ 2002-07-03 13:05:28 by simonmar] Export dynApply and dynApp
     a79716a [project @ 2002-07-04 10:42:32 by simonmar] Explicitly import the Prelude, and add a few types signatures to make these modules produce better documentation.
     ab6d22d [project @ 2002-07-04 12:57:39 by simonmar] We have to define _POSIX_PTHREAD_SEMANTICS on Solaris in order to get the right versions of the _r functions.  Otherwise we get Solaris-specific versions of these, which puts a spanner in the works.
     2b24ca8 [project @ 2002-07-04 13:33:24 by simonmar] Sigh, enabling _POSIX_PTHREAD_SEMANTICS causes the Solaris header files to drop several silly little C functions into the source code. We don't want these duplicated in every Haskell-compiled object.
     99abeb9 [project @ 2002-07-04 16:22:02 by simonmar] Flesh out the documentation a bit.
     cbfc311 [project @ 2002-07-08 10:43:10 by simonmar] Fix a bug in getDirectoryEntries where the directory stream wasn't always being closed.  This one shows up on Solaris as a "too many open files" failure when trying to run the test suite.
     21101cc [project @ 2002-07-15 12:25:24 by simonmar] Remove duplication in the extra_libraries list for mingw32
     54be0e0 [project @ 2002-07-15 16:02:11 by simonmar] Remove for extra commas in export lists (GHC is a little too lenient). Patch from Ross Paterson.
     2726d8d [project @ 2002-07-15 16:15:14 by simonmar] extra comma in export list
     2fc64f6 [project @ 2002-07-16 15:47:25 by ross] First stage of making the new libraries work with Hugs:
     62fbfbb [project @ 2002-07-16 16:08:58 by ross] Add imports of Hugs.* modules (wrapped in #ifdef __HUGS__) to make these modules work with Hugs.
     1c817f8 [project @ 2002-07-16 22:42:28 by sof] handleFinalizer: (also) use the handle's type/state to decide whether or not go ahead with close()ing.
     3440daa [project @ 2002-07-17 09:22:20 by simonmar] Need to #include <math.h> now that Stg.h doesn't.
     f471318 [project @ 2002-07-17 10:47:01 by ross] Make the libraries' Numeric module usable by Hugs.  Also deleted a chunk of code inside #ifdef __HUGS__ -- this was unused, and the copy in Hugs (now Hugs.Numeric) has since been improved.  (Since these functions are portable, ideally they would be merged with the versions in GHC.Float)
     f9b1dab [project @ 2002-07-18 22:01:07 by sof] helper functions for mucking about with Win32 consoles
     7c948d6 [project @ 2002-07-18 22:01:50 by sof] win32 console-based implementations of setCooked, {get,set}Echo
     674f4cc [project @ 2002-07-22 11:37:38 by ross] Make Data.Array.{IArray,MArray,IO,ST} work with Hugs, splitting off the IOArray part of Hugs.IOExts into Hugs.IOArray and (sadly) adding Hugs.Array.Base, a cut-down version of Data.Array.Base.
     c22589f [project @ 2002-07-22 13:30:43 by simonmar] Make the new mergesort stable.
     4edbab6 [project @ 2002-07-23 10:46:27 by ross] Make Data.Unique work with Hugs.
     5e3b441 [project @ 2002-07-23 14:52:46 by simonpj] Various precedence errors in the code 	for read and show.  A couple (the show instances 	for Ratio and Array) were actually errors in 	the Library Report.   A couple more were to 	do with whether the precedence of application is 	9 (wrong) or 10 (right).
     f212d46 [project @ 2002-07-23 18:50:54 by sof] gmtoff: MS CRT implementation of _tzset() (and _timezone) assumes that >0 represent positions west of the Prime Meridian. This module assumes the opposite, so flip the sign of 'timezone' when compiling for mingw.
     1089f6c [project @ 2002-07-23 22:04:36 by sof] inputReady(): using MsgWaitForMultipleObjects() instead of WaitForMultipleObjects() on file handles is nicer from within a message pump, but here it is less confusing to use the latter (and simply just block message delivery for its duration.)
     edb47ef [project @ 2002-07-24 09:57:21 by simonmar] tiny doc fixes
     244cd16 [project @ 2002-07-25 14:14:36 by simonmar] Fix comment typos, from Reuben Thomas.
     f4692eb [project @ 2002-07-26 02:36:57 by sof] gmtoff: according to the (POSIX  / Single Unix and MSVC) documentation of tzset(), 'timezone' is > 0 west of the Prime Meridian, so extend prev. commit to apply to all platforms, not just Win32.
     0f3b6b1 [project @ 2002-07-26 10:05:04 by stolz] Add some references. Requires upgrade to current haddock version (>2002-7-25)!
     e75e1bb [project @ 2002-07-26 12:12:33 by stolz] Fix typo.
     35d3afc [project @ 2002-07-26 13:23:38 by malcolm] Must start tweaking the libraries for NHC soon.
     74bb702 [project @ 2002-07-29 09:54:40 by ross] Tweaked imports and includes for compatibility.
     8a3d33f [project @ 2002-07-29 09:57:17 by simonmar] Remove non-existent and empty dirs from $(ALL_DIRS)
     3be2ff0 [project @ 2002-08-01 12:50:31 by simonpj] Add parens to make precence clear
     92a3d30 [project @ 2002-08-02 12:24:36 by simonmar] I can get away without -monly-3-regs for this file, now that GHC is passing -fno-builtin to gcc.
     45e4c5f [project @ 2002-08-02 12:25:30 by simonmar] Don't need -monly-3-regs now.
     7b56e9f [project @ 2002-08-02 12:26:36 by simonmar] Don't need -monly-3-regs now
     1d084ab [project @ 2002-08-03 19:32:16 by reid] Changes to make libs work with Hugs/FFI.
     823938f [project @ 2002-08-03 19:32:49 by reid] Oops
     f8650f2 [project @ 2002-08-03 20:14:23 by reid] oops again
     71c1629 [project @ 2002-08-03 21:01:26 by reid] Final bout of changes to make things work with Hugs.
     a62c4c6 [project @ 2002-08-03 21:33:15 by reid] Directives like this
     a312934 [project @ 2002-08-05 08:29:17 by simonmar] Add missing GHC imports
     c49948b [project @ 2002-08-05 08:44:53 by simonmar] Move the import of System.IO.Unsafe into the #else part of #ifdef __GLASGOW_HASKELL__, because it was causing an import loop. (Alastair: that #else should probably be #elif __HUGS__, right?)
     61b9f39 [project @ 2002-08-05 08:48:07 by simonmar] Remove the literate bits from this file: I'm trying to keep .lhs out of the non-GHC parts of the libraries tree, we don't use it any more and it clutters up the code.
     56800ce [project @ 2002-08-07 12:17:59 by ross] Renamed HugsStorable -> Hugs.Storable (copy of lib/exts/HugsStorable.hs)
     b271ab1 [project @ 2002-08-08 06:25:05 by ross] Add hTell to Hugs.
     535df85 [project @ 2002-08-08 22:29:28 by reid] Hugs provides makeForeignPtr instead of newForeignPtr.
     f379522 [project @ 2002-08-16 11:38:04 by simonmar] Data.Array.IArray should export Array too
     70c3686 [project @ 2002-08-16 11:38:57 by simonmar] Some extra docs for addFinalizer, describing why using addFinalizer on a ForeignPtr isn't the same as using addForeignPtrFinalizer.
     166a9e1 [project @ 2002-08-20 10:03:05 by simonmar] The Typeable instances were missing in the __GLASGOW_HASKELL__ case; add them.
     0d287e0 [project @ 2002-08-21 10:43:22 by simonmar] Oops, unpackCStringUtf8# had rotted at some point, and no-one noticed. Some parentheses are required because the relative precedences of uncheckIShiftL# and +# (the default precedences, AFAICT) give the wrong meaning to some expressions.
     8479863 [project @ 2002-08-23 22:10:43 by sof] ioeGetErrorString: don't "show" the string from a user error.
     80972f6 [project @ 2002-08-25 09:16:07 by panne] Fixed bug in documentation introduced by "Mr. Haddock" himself. :-)
     5c3189f [project @ 2002-08-27 14:44:31 by simonmar] We really should export the representations of Ptr and FunPtr from here.
     1d36d59 [project @ 2002-08-28 13:59:19 by simonmar] - Move rawSystem from SystemExts to System.Cmd. - Move withArgv and withProgName from SystemExts to System.Environment
     9efe433 [project @ 2002-08-28 14:30:12 by simonpj] Fix a lexing bug: "\SOH" could mean "\SO" followed by "H" or "\SOH".  The Report specifies the latter.
     5634a8a [project @ 2002-08-29 05:11:41 by ross] The functions rawSystem, withArgs and withProgName aren't supported by Hugs yet.
     3250e7a [project @ 2002-08-29 09:24:21 by simonmar] Move library-project documentation to a better place, and add the current hierarchy spec.
     c50828c [project @ 2002-08-29 11:29:40 by simonmar] Foreign.C.TypesISO has been merged into Foreign.C.Types now.
     a0dfc75 [project @ 2002-08-29 11:49:10 by simonmar] Make the readline binding into a hierarchical library and put it in its own package (for licensing reasons).
     f5515f7 [project @ 2002-08-29 16:03:57 by stolz] Add replicateM[_] and foldM_
     e2e8a57 [project @ 2002-08-29 16:05:59 by stolz] Haddock-ise with comments from library report
     88a5df2 [project @ 2002-08-29 16:39:42 by stolz] - Haddock-ise with comments from library report - The chapter "Deriving Instances of Ix" doesn't end up in the "Contents"     section (yet), although it should.
     24a67b4 [project @ 2002-08-30 07:56:48 by stolz] Fix sample way of expressing 'killThread' in docs.
     4471d43 [project @ 2002-08-30 10:46:10 by stolz] Haddock-ised. The previous version already did contain a lot of documentation which just wasn't in the right shape. The current documentation diverges slightly from the Library Report.
     51cf67a [project @ 2002-08-30 12:25:15 by stolz] Express 'killThread' in terms of 'throwTo'
     5988a17 [project @ 2002-08-30 12:32:44 by stolz] - Haddock-ise with comments from library report - FIXME: Haddock doesn't support nested enumerations.
     5e2bb8f [project @ 2002-08-30 13:00:31 by simonpj] Remove bogus parError; MERGE TO STABLE
     e9e064d [project @ 2002-08-30 13:27:42 by stolz] Haddock-ise.
     a11109e [project @ 2002-08-30 13:43:57 by stolz] Haddock-ise with comments from library report
     cd4a2f2 [project @ 2002-08-30 14:19:18 by simonpj] Extra space after $ to avoid conflict with Template Haskell
     45d3a3a [project @ 2002-08-30 14:29:51 by simonpj] * Do not export built-in syntax (H98 conformance) * Add 'assert' to GHC.Base
     a0e9e3e [project @ 2002-08-30 14:54:58 by simonpj] Move defn of hs_fileno inside ifdef
     ca2e48f [project @ 2002-08-31 08:37:56 by simonpj] Remove GHC.Base.assert until I can figure out what happened
     2e44135 [project @ 2002-09-02 11:20:50 by ross] Minor rearrangement: the implementation of System.Exit.exitWith is GHC-specific, while exitFailure is portable.
     44aa638 [project @ 2002-09-02 16:33:31 by ross] non-GHC compilers should also import Numeric.
     e7478d9 [project @ 2002-09-02 16:40:55 by simonpj] Un-break head build due to (:) export
     5f7d567 [project @ 2002-09-03 00:15:45 by mthomas] Mingw32 has no fcntl() - use _setmode() (twice) instead.
     2ba2065 [project @ 2002-09-03 09:40:51 by simonmar] (%) should be infixl 7 (thanks to Jon Fairbairn for pointing out the omission)
     465fec0 [project @ 2002-09-04 15:52:20 by simonmar] Remove some unnecessary imports
     db34f07 [project @ 2002-09-04 16:05:29 by simonmar] GHC can derive arbitrary instances for newtypes, so derive Storable for the types in Foreign.C.Types, rather than using CPP trickery to define the instances.
     03d4d61 [project @ 2002-09-04 16:46:40 by ross] Fix typo.
     054a65b [project @ 2002-09-04 16:51:33 by ross] Foreign.C.TypesISO needs to import Foreign.Storable. Also added some imports for non-GHC platforms.
     6bcd915 [project @ 2002-09-06 14:08:45 by simonmar] Implement
     700db30 [project @ 2002-09-06 14:34:15 by simonmar] Partial rewrite of the POSIX library.
     aaa77a2 [project @ 2002-09-06 14:38:15 by simonmar] Make it build on mingw32, with a cut-down set of types
     8fb5d72 [project @ 2002-09-06 15:00:04 by simonmar] Disable the whole contents on mingw32.  At some point we might be able to provide cut-down signal support, but I'll leave that for later.
     049c328 [project @ 2002-09-08 02:35:33 by sof] Hugs updates + fixes
     eea0c94 [project @ 2002-09-09 03:50:38 by sof] (hugs only): PrelImpl -> Hugs.Prelude
     0a678e9 [project @ 2002-09-09 15:13:47 by simonmar] Comments only
     a97b83b [project @ 2002-09-09 15:30:58 by ross] Hugs-only changes: explicit imports + use approxRational.
     39e7414 [project @ 2002-09-09 16:04:10 by ross] More imports for non-GHC platforms.
     2d8cdf6 [project @ 2002-09-10 09:06:07 by simonmar] Remove CBlkCnt and add it to the ToDo list; it clearly isn't present on several systems yet.  Fortunately we weren't using it.
     c7f1b29 [project @ 2002-09-10 09:13:52 by ross] H98 conformance: fill out (..)'s, and make the [] export GHC-only.
     bd2c070 [project @ 2002-09-10 10:50:28 by malcolm] Export the builtin syntax for []((:),[]), ()(()), and (->) in nhc98 as well as ghc.
     bf8e196 [project @ 2002-09-10 11:07:23 by ross] #ifdef's for Hugs, which only allows one import in the Prelude at the moment.
     6fb52f7 [project @ 2002-09-10 11:36:04 by ross] non-GHC: import Control.Monad (needed by INSTANCE_STORABLE).
     d0b54cd [project @ 2002-09-10 20:45:50 by panne] Fixed slashification in Haddock comment
     9f63d16 [project @ 2002-09-11 11:06:05 by simonpj] Add documentation about unsafePerformIO
     d7fd415 [project @ 2002-09-13 18:21:46 by panne] It looks like we need assert again...?!
     f8df252 [project @ 2002-09-13 18:25:07 by panne] Not quite sure about this one: Export builtin stuff like [], (), and (->) only for NHC, not for GHC anymore.
     e90d876 [project @ 2002-09-14 09:27:21 by panne] Make Haddock happy
     976f582 [project @ 2002-09-16 11:24:20 by simonpj] Comments only
     d7827d3 [project @ 2002-09-16 11:24:36 by simonpj] Fix bug in Read instance for Maybe
     9415bd4 [project @ 2002-09-16 11:29:39 by ross] Moved some stuff from Hugs.Prelude to Hugs.Char.
     a938d52 [project @ 2002-09-18 11:32:43 by simonmar] Sort out the divide-by-zero situation.
     c4f6fb9 [project @ 2002-09-19 10:47:21 by simonmar] re-export unsafePerformIO
     c43c694 [project @ 2002-09-19 13:24:52 by simonmar] Put this below the Prelude in the dependency tree.  I accidentally created a loop with the latest change to Foreign.hs; this fixes it.
     4e07ae0 [project @ 2002-09-20 13:15:07 by ross] Make Data.Array.Base more portable (no semantic changes, I hope) by
     f50294a [project @ 2002-09-23 09:19:53 by ross] remove unnecessary #ifndef __HUGS__
     05b3352 [project @ 2002-09-24 16:07:50 by sof] ioeGetErrorType(error case): don't pose as ioeGetHandle.
     5d5f213 [project @ 2002-09-24 19:01:55 by sof] userErrors: don't barf on non-IOExceptions.
     835f33e [project @ 2002-09-25 15:16:30 by simonpj] Remove readList__
     06f1b3b [project @ 2002-09-25 15:24:07 by simonmar] Re-instate the checking for the values of errno constants at configure time.  The problem with doing it using foreign calls is simply that this tickles a bad case in the code gen machinery, which in this case results in an extra 10-20k of goop ending up in pretty much every binary, and it impacts GC performance too.
     466552f [project @ 2002-09-25 22:49:17 by ross] Hugs only (but being considered for the ffi spec): added finalizerFree, a pointer to a foreign function equivalent to free, for use as a finalizer.
     e31ee99 [project @ 2002-09-25 22:55:41 by ross] Switch to mallocForeignPtr.
     205cbfc [project @ 2002-09-25 23:01:11 by ross] (Hugs only) conform to the current FFI spec.  This code makes the additional assumption that a finalizer added with addForeignPtrFinalizer runs before any existing finalizers on the same object.
     dee5fa3 [project @ 2002-09-25 23:06:30 by ross] (Hugs only) use StorableArray as a poor man's IOUArray.
     22c5ce6 [project @ 2002-09-26 09:16:33 by simonpj] Comments
     888c28e [project @ 2002-09-27 23:10:23 by erkok] The MonadRec.hs library, stolen from the Hugs release.
     718505a [project @ 2002-09-29 20:24:00 by panne] Warning police #1: Nuke duplicate export of CSsize(..)
     f41af17 [project @ 2002-09-30 10:27:49 by simonmar] s/rm -f/$(RM)/
     51f335d [project @ 2002-09-30 14:31:02 by ross] Portability tweak.
     911cbab [project @ 2002-10-01 10:32:11 by ross] Hugs only: reinstate infix declarations.  It seems the Hugs limitation this was working around no longer exists.
     aee388f [project @ 2002-10-01 15:58:11 by erkok] Merge Fix.hs with MonadRec.hs, and remove the latter.
     ae10d00 [project @ 2002-10-01 16:29:47 by ross] Removed the strict ST instance (already in Control.Monad.ST) and moved the lazy ST instance to Control.Monad.ST.Lazy, so Control.Monad.Fix contains only instances for Prelude types, and is portable.
     cef863d [project @ 2002-10-03 12:43:50 by panne] Warning police #4: To use uname, we should try to #include <sys/utsname.h>.
     f511a7a [project @ 2002-10-03 12:57:42 by panne] Warning police #5: Nuked duplicate exports, simplifying (i.e. nuking :-) the export list on the way. The deep and arcane reasons for the strange #ifdef-ery in this module are not clear to me, so I hope no damage is done by this commit. :-}
     5b0420b [project @ 2002-10-03 13:04:58 by panne] Warning police #6: Add prototype for writeErrString__, which is used by GHC.TopHandler.
     849b1ed [project @ 2002-10-03 13:29:07 by panne] Warning police #7: Improved typing of TSOs a bit, getting rid of a bunch of C compiler warnings.
     0ea562e [project @ 2002-10-03 13:41:35 by panne] Warning police #8: Exporting Foo(..) exports Foo's field selector functions, too, so let's nuke the latter from the export list.
     e9443b3 [project @ 2002-10-03 13:56:12 by panne] Warning police #9: Nuked modules from the export list which are already implied by other exported modules. Still quite a few warnings left here, though... >:-(
     ea49782 [project @ 2002-10-03 15:19:15 by ross] Reinstate the exports of the function names, because the module must export them, even though Hugs doesn't define them here.  The old module export they overlapped with was there to pick up the tuple definitions for GHC, but that probably isn't necessary with the recent GHC changes.
     4f5dbdf [project @ 2002-10-08 08:03:01 by wolfgang] Make the new Posix bindings compile on Mac OS X. Most notable, Mac OS X lacks *) lchown *) SIGPOLL I don't know of a replacement of either, so they are just left out when they are not detected by configure.
     325f7ec [project @ 2002-10-09 16:55:30 by malcolm] Add a little infrastructure for building the hierarchical libraries with nhc98.
     5704a5d [project @ 2002-10-09 17:08:18 by malcolm] Add #ifdefs for nhc98.
     e3dec53 [project @ 2002-10-09 17:24:12 by malcolm] Add #ifdefs for nhc98.
     3d893a1 [project @ 2002-10-11 11:05:20 by malcolm] Make some more libraries buildable with nhc98.
     b8d2aa7 [project @ 2002-10-11 12:23:41 by stolz] Add even more #ifdefs for nhc98.
     1d28f2f [project @ 2002-10-11 14:33:58 by simonpj] Fix cpp syntax
     461576b [project @ 2002-10-14 10:06:28 by ross] #ifdef tweaks
     a9a5413 [project @ 2002-10-16 13:48:24 by ross] Remove special treatment of Hugs.
     490c1b8 [project @ 2002-10-18 09:51:04 by simonmar] Add atomicModifyIORef, as discussed on the FFI list.
     52b26ba [project @ 2002-10-18 12:28:38 by ross] Hugs only: simple version of atomicModifyIORef, relying on the absence of preemption from Hugs.  If Hugs gets Haskell finalizers, they'll have to be blocked during this operation.
     a1a1efb [project @ 2002-10-18 13:32:56 by simonpj] Move Typable IORef instance to Dynamic; stops IORef.hs being an oprhan module
     8995f70 [project @ 2002-10-18 16:29:18 by malcolm] Implement atomicModifyIORef for nhc98.
     3bdd406 [project @ 2002-10-22 10:59:40 by simonmar] Don't bogusly cast ThreadId# to Ptr ().  The right way to fix these warnings is to change the type signatures of cmp_thread and rts_getThreadId to take StgPtr rather than StgTSO *, since the compiler now has no internal distinction between the two in the backend (it used to, but recent simplifications removed the distinction).
     cae97a5 [project @ 2002-10-24 07:49:40 by mthomas] Unchecked quick fix. Hope to test tonight after getting home.
     2819cfe [project @ 2002-10-25 13:07:41 by sof] Only interested in a subset when used in w/ Hugs
     eaceaff [project @ 2002-10-30 14:53:39 by ross] #ifdef's for Hugs
     95bf297 [project @ 2002-10-30 18:21:25 by ross] (Hugs only) fix silly slip in last commit.
     ca950ea [project @ 2002-11-02 11:56:30 by ross] Hugs only: export throwIO :: Exception -> IO a instead of a generalized ioError.  This is an interim measure to keep Hugs working until it's decided what to do about IOError.
     ad6af6a [project @ 2002-11-06 10:38:16 by simonmar] - Add a Show instance for ForeignPtr
     546ca2b [project @ 2002-11-06 20:30:26 by ross] Hugs only: move the dummy implementation of evaluate here, to avoid ambiguity.
     508314c [project @ 2002-11-06 23:47:16 by ross] Minor #elif adjustment (__HUGS__ vs __NHC__).
     2ca778b [project @ 2002-11-07 10:41:59 by stolz] - Explicitely document order of parameters in addToFM_C.
     fe0bb42 [project @ 2002-11-08 09:04:35 by simonpj] --------------------------------- 	Tiny H98 fix to numericEnumFromThenTo 	---------------------------------
     b57bb87 [project @ 2002-11-13 10:35:18 by simonmar] Remove superfluous escaping of quotation marks in the example code (Haddock interprets bird-tracked code literally).
     6952eca [project @ 2002-11-19 11:28:51 by simonmar] Doc fix for unsafeInterleaveIO
     28d31e7 [project @ 2002-11-20 13:44:41 by simonmar] Allow opening a character special device; we treat it as a stream, even though it might be seekable.  This allows opening /dev/stdin, /dev/null, etc.
     5d7f1de [project @ 2002-11-20 13:45:20 by simonmar] Add experimental hDuplicate and hDuplicateTo.
     8e0ccdb [project @ 2002-11-22 10:52:23 by stolz] Add 'mapException' as proposed in "A semantics for imprecise exceptions"
     2d18757 [project @ 2002-11-26 17:32:33 by ross] added missing _ == _ = False to Eq Exception.
     0f9d7cc [project @ 2002-12-03 14:30:12 by simonmar] Eeek!  A nasty bug has been lurking in waitQSemN, which as far as I can make out has been there for ever.  Presumably no-one uses this abstraction...
     a277cae [project @ 2002-12-05 09:49:38 by simonmar] annotateIOError was somehow missing from the export list...
     69ee5e6 [project @ 2002-12-05 14:20:56 by stolz] Add SA_RESETHAND (aka SA_ONESHOT) support. Requested by: John Meacham
     92aa54d [project @ 2002-12-05 14:44:02 by stolz] Don't forget peeking signal handlers (nothing to see here, please move along)
     731590a [project @ 2002-12-11 15:55:17 by simonmar] Obj type must be forall a.a now, to avoid confusing GHC's new tail-calling scheme.
     166bb30 [project @ 2002-12-11 16:12:22 by ross] non-GHC: keep the old definition of Obj.
     8a2c46b [project @ 2002-12-12 13:29:07 by ross] Hugs only: add an import.
     052e3a7 [project @ 2002-12-12 13:32:06 by ross] Add an import for Hugs, and change some #ifdef __GLASGOW_HASKELL__ to #ifndef __NHC__
     455d1bb [project @ 2002-12-12 13:42:46 by ross] Changes to the exception interface, as discussed on the libraries list.
     20d5d21 [project @ 2002-12-13 13:36:36 by malcolm] Add #ifdef around import Control.Exception, which does not exist in nhc98.
     f757f3c [project @ 2002-12-13 14:23:42 by simonmar] Fix bugs caused by missing casts in arithmetic expressions in stg_integerToInt64 and stg_integerToWord64.
     308112b [project @ 2002-12-16 11:00:53 by malcolm] Un-break for nhc98.  `bracket' now comes from IO, not System.IO.
     74357f5 [project @ 2002-12-18 10:34:28 by malcolm] Add a bunch more libraries to the nhc98 build.
     ec173cb [project @ 2002-12-18 10:42:09 by malcolm] Make it work with nhc98.
     8f36daa [project @ 2002-12-18 10:42:54 by malcolm] With nhc98, avoid overlap between Prelude defns and Control.Monad defns.
     215aa25 [project @ 2002-12-18 10:43:38 by malcolm] Make it compilable with nhc98, although for now it omits all instances.
     b7a79db [project @ 2002-12-18 10:45:31 by malcolm] Now compiles with nhc98.
     233ac57 [project @ 2002-12-18 16:29:25 by simonmar] "Auto" packages.
     661c373 [project @ 2002-12-19 15:23:29 by ross] #ifdef's for Hugs.
     538a7bc [project @ 2002-12-19 22:04:41 by malcolm] Make it work with nhc98.
     962cbf5 [project @ 2002-12-19 22:06:20 by malcolm] Add a couple more libraries for nhc98.
     86c6983 [project @ 2002-12-20 09:31:11 by simonmar] Oops, forgot to commit this with the "auto packages" changes.  We now have to -#include "HsBase.h" explicitly.  As far as I can tell it was happening by accident before, as a result of the base package being enabled by default.
     dda6705 [project @ 2002-12-20 09:41:20 by simonmar] Remove c_uname from here, it isn't required in the base package
     baf09e2 [project @ 2002-12-20 17:56:21 by ross] Make Hugs use all of System.IO.Error.
     e05ec88 [project @ 2002-12-20 18:43:53 by ross] Hugs only: use new version of evaluate.
     b5d7f55 [project @ 2002-12-23 13:33:16 by malcolm] Ensure all the Storable instances are available in nhc98.
     15abba8 [project @ 2003-01-02 23:49:32 by ross] Hugs only: #ifndef out the bits Hugs can't do.
     a9b8e21 [project @ 2003-01-06 14:30:12 by ross] Consolidate to a single version of trace (except that GHC has the post-hook). This version adds a newline, which the old Hugs and NHC versions didn't.
     da0b599 [project @ 2003-01-08 13:06:30 by simonmar] Alter the order of the argument to annotateIOError to match mkIOError and the FFI spec.
     69c7fbf [project @ 2003-01-08 14:08:29 by simonmar] Fix annotateIOError (bug noticed by Ross Paterson).
     7b028df [project @ 2003-01-13 11:32:00 by simonmar] Fix off-by-one in splitWithPS.
     9a0eab7 [project @ 2003-01-13 11:42:16 by simonmar] UArrays should always be initialized with known elements, otherwise we can lose referential transparency:
     ad1956e [project @ 2003-01-16 14:38:40 by ross] remove spurious #ifdef __HUGS__
     68ca3cb [project @ 2003-01-17 14:52:17 by ross] Exchange some functions between System.Mem.Weak (portable) and GHC.Weak (not).
     481069c [project @ 2003-01-21 16:33:20 by ross] add local definitions of unsafeIOToST and stToIO
     7d7ea76 [project @ 2003-01-22 10:55:56 by ross] add mallocForeignPtrArray and mallocForeignPtrArray0 as per latest FFI draft.
     82c232f [project @ 2003-01-22 10:56:27 by ross] use mallocForeignPtrArray from Foreign.ForeignPtr
     35cb996 [project @ 2003-01-22 14:44:50 by ross] simpler swapMVar (like readMVar): no need to unblock for a return.
     64d3b39 [project @ 2003-01-23 11:46:57 by ross] add Ord instance, as per FFI spec
     8e100c7 [project @ 2003-01-23 17:45:40 by ross] Hugs now uses most of Control.Exception.
     746c210 [project @ 2003-01-23 18:06:01 by panne] Added (not-so-standard ;-) support for pooled memory management. No GHC-specifics like the use of arenas yet...
     91b17a6 [project @ 2003-01-24 14:04:41 by simonmar] - Generalise seq to allow an unlifted type in its second argument.  This   works because seq is *always* inlined and replaced by a case.
     af7bb6a [project @ 2003-01-24 15:18:46 by malcolm] Move the 'shiftL/R' and 'rotateL/R' variants to become methods of the Bits class.  This gives an instance the choice of which methods (directional, or unified) to implement directly.  (This change was agreed in Sept 2002, but is only being committed now.)
     0c37c76 [project @ 2003-01-25 15:54:51 by wolfgang] This commit fixes many bugs and limitations in the threaded RTS. There are still some issues remaining, though.
     f37e84a [project @ 2003-01-28 11:07:39 by simonmar] Hand-optimised versions of pokeArray and pokeArray0 (selected via #ifdef __GLASGOW_HASKELL__).
     69a9b1f [project @ 2003-01-28 11:09:41 by simonmar] Provide hand-optimised versions of all the functions herein, protected by #ifdef __GLASGOW_HASKELL__.
     2d32e3a [project @ 2003-01-28 21:38:30 by panne] After trying out re-exporting Foreign.Marshal.Pool from Marshal, it became obvious that -fno-implicit-prelude would be a good idea. :-} Otherwise one gets cirular dependencies to the Prelude. Alas, fixing this resulted in some uglification of the code in some places...
     e9eab4b [project @ 2003-01-28 21:48:23 by panne] As agreed (= no riots after the proposal :-) on the FFI list, introduce a re-exporting module Foreign.Marshal
     129756c [project @ 2003-01-29 07:54:46 by panne] Ooops, unbreak non-GHC targets...
     79c99f2 [project @ 2003-01-29 14:28:47 by ross] fix typo that broke non-GHC impls.
     ee0c867 [project @ 2003-01-30 12:51:05 by ross] fix for non-GHC
     5d6dd6b [project @ 2003-01-30 20:41:10 by panne] * Fixed the comment breakage of the previous commit (Haddock failure) * Synched signature comments in header with reality * Added default implementation of 'rotate' in terms of 'rotateL'/'rotateR' * Removed spurios "signed": What's a signed rotate or a signed left shift??
     7c070f2 [project @ 2003-02-04 11:55:54 by simonmar] Add support for using vfork, which I apparently removed when this file was moved over from ghc/lib/std/cbits.  Using vfork on Linux makes quite a big difference - eg. when building GHC.Base with -split-objs , I saw a 2.5s reduction in system time.
     36f5c2d [project @ 2003-02-06 10:41:10 by ross] Hugs-only: special definitions of fromInt & fromDouble.
     df20eb8 [project @ 2003-02-06 10:41:13 by simonmar] Aargh!  We were setting the VMIN and VTIME values in the termios structure when the terminal is in non-raw mode, rather than raw mode, because I had a test round the wrong way.
     cd2140e [project @ 2003-02-14 13:01:32 by simonpj] Fix for deriving of records with leading underscore, and corresponding lex
     e561eac [project @ 2003-02-14 17:11:59 by sof] - add missing config.h include to Handle.hs - Handle.hSetBuffering: don't bother putting the handle's FD into   'raw' mode under Win32. 'raw' mode is just too specialised and   potentially confusing (see comments.)
     399d175 [project @ 2003-02-17 11:43:21 by simonmar] Comment wibble
     7634c8a [project @ 2003-02-17 15:13:09 by simonpj] Type sig for getTag
     0ea018d [project @ 2003-02-17 15:13:56 by simonpj] Wibbles to ST Monad methods; I forget why
     73bcd44 [project @ 2003-02-18 20:15:15 by panne] * Fixed bug #687034 (GetOpt overly ambiguous) * Reformatted comment * Synch example with reality
     341b99a [project @ 2003-02-18 20:39:56 by panne] Guerrilla tactics: Re-export Foreign.Marshal.Pool  >:-)
     418d748 [project @ 2003-02-19 13:54:19 by malcolm] Oops, the "directory-collecting" modules Foreign and Foreign.Marshal were accidentally omitted from the nhc98 build.
     2b90d5e [project @ 2003-02-20 09:36:40 by malcolm] Add Foreign.Marshal.Pool to the nhc98 build.
     cb266c1 [project @ 2003-02-21 05:34:12 by sof] Asynchronous / non-blocking I/O for Win32 platforms.
     08e5613 [project @ 2003-02-26 10:22:14 by simonmar] Add a note about the problem with forkProcess, for the time being.
     a3d4b34 [project @ 2003-02-28 12:34:43 by stolz] - Rename System.Posix.Process.forkProcess to forkProcessAll - Move GHC.Conc.forkProcess to System.Posix with type 'Maybe ProcessID'
     6005584 [project @ 2003-03-04 11:09:15 by simonmar] Split Data.Array.IO into Data.Array.IO.Internals (which defines and exports the concrete representations of IOArray and IOUArray) and Data.Array.IO which exports the user-visible API.
     49bd7a3 [project @ 2003-03-04 13:36:39 by ross] add an #ifdef __GLASGOW_HASKELL__
     5b12681 [project @ 2003-03-05 15:53:10 by malcolm] Build the hierarchical libraries from .hc files when building nhc98 from .hc's.
     46738fd [project @ 2003-03-05 15:54:59 by malcolm] For nhc98, use nullPtr rather than 0 as the argument to time().
     05657aa [project @ 2003-03-06 09:51:03 by simonmar] Add Data/Array/IO to list of directories
     f3fdb22 [project @ 2003-03-08 19:02:39 by panne] Fixed some broken/redirected/canonicalized links found by a very picky link checker.
     6690828 [project @ 2003-03-08 23:03:47 by panne] More markup fixes...
     a04d391 [project @ 2003-03-09 20:19:27 by panne] Fixed markup confusion ("" vs. '')
     73e53bb [project @ 2003-03-11 18:41:43 by panne] Fixed link to getArgs
     c486ae0 [project @ 2003-03-12 16:42:27 by ijones] * Added more Haddock documentation to functions / classes / types * Added section headings for classes / types * Added an Examples section
     2f9a2ea [project @ 2003-03-14 13:08:04 by simonmar] Attach the finalizer to the write side of a duplex handle, where it should have been.  Otherwise finalization of duplex handles doesn't work properly.
     daf54e0 [project @ 2003-03-26 12:35:34 by simonmar] Add getrlimit()/setrlimit() suppport
     640bba6 [project @ 2003-03-26 15:25:46 by simonmar] Change our ForeignPtr implementation to match the spec: finalizers must now be foreign functions.
     b5a75c9 [project @ 2003-03-27 10:24:43 by simonmar] [ oops, forgot to commit this with the rest of the changes yesterday... ]
     7fdfbbd [project @ 2003-03-30 12:20:16 by ross] withForeignPtr is portable.  So is some other stuff, though only Hugs uses the portable versions at present.
     b08edd6 [project @ 2003-03-31 13:58:03 by simonmar] - Add ioeSet{ErrorType,ErrorString,Handle,FileName} to match the   existing ioeGet* functions.
     789daa6 [project @ 2003-03-31 13:58:43 by simonmar] Get the filename right in IOErrors generated by several functions in here.
     2bb2c9c [project @ 2003-03-31 15:36:24 by ross] remove a GHC-ism
     26d6e1e [project @ 2003-04-01 16:30:37 by simonpj] Use INLINE rather than SPECIALISE for ceiling, floor, truncate
     c44d034 [project @ 2003-04-01 16:32:04 by simonpj] Fix bogus implementation of readLitChar, lexLitChar
     fb462ef [project @ 2003-04-03 16:46:59 by ross] Graph and Tree modules, from GHC's Digraph (actually the Haddock version, which looks more recent).
     0c03a60 [project @ 2003-04-04 14:36:31 by simonpj] lexChar wibblifications
     6af0d63 [project @ 2003-04-04 16:12:01 by ross] Added a list of the modules in the package that don't work with Hugs. Such modules are skipped by the conversion script.  Packages in which everything works with Hugs don't need such a file.
     d436ec4 [project @ 2003-04-08 14:52:26 by ross] import tweak
     da40a2b [project @ 2003-04-08 16:02:05 by simonpj] New ReadP module from Koen, featuring <++ combinator
     b5a2ffd [project @ 2003-04-08 16:14:29 by simonpj] add fixity for +++, <++
     f5331a7 [project @ 2003-04-09 08:17:39 by simonpj] Remove redundant Prelude import
     a7eeab6 [project @ 2003-04-09 08:18:13 by simonpj] -------------------------------------       Fix the lexer so that it does the right thing 	for floating point and hexadecimal numbers 	-------------------------------------
     1d9d3df [project @ 2003-04-09 10:21:09 by simonpj] Typo
     baa562c [project @ 2003-04-11 10:11:24 by ross] rename GHC.Posix as System.Posix.Internals
     7572369 [project @ 2003-04-11 10:41:23 by ross] move #hide to where it works
     f191210 [project @ 2003-04-11 11:10:57 by ross] rename Control.Monad.Monoid as Data.Monoid
     cfd486f [project @ 2003-04-11 11:43:09 by ross] Hugs only: use the whole thing now
     e1e8556 [project @ 2003-04-11 14:24:07 by simonmar] Plug a file descriptor leak: when finalizing a handle, we should ignore errors in the flushing operation and go ahead and close the handle anyway.
     8612742 [project @ 2003-04-11 23:39:43 by ross] Hugs only: add a CBITS "pragma" to tell the Hugs conversion script which files from <package>/cbits should be linked with the module by ffihugs, e.g. {-# CBITS HsNet.c initWinSock.c ancilData.c #-}
     cd9fc2f [project @ 2003-04-15 10:41:14 by simonmar] Re-instate joinPS which appears to have been accidentally left out of this revised version of PackedString, and add unlinesPS and unwordsPS which are the analogs of Data.List.unlines and Data.List.unwords respectively.
     c5fba01 [project @ 2003-04-15 12:42:13 by malcolm] Add unlinesPS, unwordsPS, joinPS, and splitWithPS, to the nhc98 version of the code.
     b4d32d3 [project @ 2003-04-16 15:12:02 by sof] hGetArray: wrong result length returned.
     b3e4120 [project @ 2003-04-17 07:01:27 by simonpj] Start on better Typeable
     aa5e82f [project @ 2003-04-17 07:26:12 by simonpj] Better Haddock documentation
     709486e [project @ 2003-04-17 10:44:59 by simonmar] Add a hash table implementation.  This is an implementation of Dynamic Hash Tables, transliterated from the code in GHC's RTS into Haskell. I'd like to say it looks nicer, and well, maybe it does a little.
     a650a9f [project @ 2003-04-17 12:58:14 by mthomas] Fix "System/Posix/Internals.hs:273: Malformed entity string".
     cc08a0a [project @ 2003-04-17 13:26:59 by simonmar] Doc wibbles
     c6e4ceb [project @ 2003-04-17 15:17:07 by simonpj] Comments and imports
     7e51e8b [project @ 2003-04-17 15:23:37 by simonpj] ---------------------------------- 	Implement Typeable properly 	----------------------------------
     230207a [project @ 2003-04-17 16:51:43 by simonpj] Add lots of new generics stuff
     ba88be2 [project @ 2003-04-21 16:32:05 by ross] Hugs only: Key is defined in Hugs.Prelude (because it needs Dynamic)
     e9526a4 [project @ 2003-04-21 16:32:39 by ross] adjust imports for Hugs's benefit.
     534944a [project @ 2003-04-22 09:19:24 by ross] remove an ifdef'd out commented out import.
     2cccdd0 [project @ 2003-04-22 09:21:34 by ross] Hugs only: minor re-arrangement of ifdefs.
     19d4641 [project @ 2003-04-22 10:20:30 by malcolm] Exclude Data.Dynamic from the nhc98 build now that it no longer compiles.  (Need to investigate getting Data.HashTable to work.)
     0782b94 [project @ 2003-04-23 10:27:53 by simonmar] hGetArray/hPutArray with a count argument of zero now just return doing nothing.  This brings them into line with hGetBuf/hPutBuf and fixes a bug in Data.PackedString.hPutPS which fails on an empty string.
     1276f4a [project @ 2003-04-23 13:22:16 by simonmar] Doc wibble.
     5af9479 [project @ 2003-04-23 14:29:51 by malcolm] Tweak #ifdefs to make it compile with nhc98.
     4bae1fc [project @ 2003-04-23 14:36:26 by malcolm] Add Data.HashTable, Data.Monoid, and Data.Tree to the nhc98 build, and re-instate Data.Dynamic, which now uses Data.HashTable.
     9ac18b6 [project @ 2003-04-24 12:25:26 by malcolm] Add instances of Data.Bits.Bits for Int/Word[8,16,32,64] in a different way.  The module Data.Bits is only available from the base package, which is normally added to the link line *before* the standard libraries, hence if the instances are in the latter, you get link errors.  So move the instances into the base package where they belong, in NHC.SizedTypes.
     062c551 [project @ 2003-04-25 10:23:29 by simonmar] doc fixes
     304f7fe [project @ 2003-04-25 10:24:20 by ross] non-GHC: remove instances for Word
     ceed85a [project @ 2003-04-25 10:24:58 by ross] add Data.Array.Diff to Hugs
     d270f3d [project @ 2003-04-25 17:42:26 by ross] add System.Info to Hugs
     492be53 [project @ 2003-04-25 17:43:06 by ross] tiny haddock fix
     9d76081 [project @ 2003-04-28 09:16:47 by ross] portability fixes, plus marking these as non-portable (uses forall).
     63c961b [project @ 2003-04-28 09:18:29 by ross] add Text.ParserCombinators.ReadP, Text.ParserCombinators.ReadPrec and Text.Read.Lex to Hugs.  (But they're not used by Read, because that would make the Prelude non-H98).
     27242f9 [project @ 2003-04-30 08:36:21 by simonmar] When doing hGetChar on a block-buffered handle, don't wait for the buffer to be completely full before returning a character.  This behaviour seems more useful, and matches what hGetLine and hGetContents do.
     11a8412 [project @ 2003-05-05 19:44:28 by ross] non-GHC: fill out the Bits instances for Int and Integer, and make them work with Hugs.
     c212e87 [project @ 2003-05-08 16:06:41 by ross] avoid a C compiler warning about arithmetic with void *
     0327389 [project @ 2003-05-12 08:48:09 by ross] some re-arrangement for the benefit of Hugs.
     01f10fd [project @ 2003-05-12 08:54:21 by ross] add Haddock markers
     e36cd23 [project @ 2003-05-12 08:55:53 by ross] remove #ifndef __HUGS__
     f443dbb [project @ 2003-05-12 08:57:55 by ross] cosmetic change
     0d3f287 [project @ 2003-05-12 10:12:52 by ross] Hugs only (I hope): add unboxed arrays to Hugs
     165eca2 [project @ 2003-05-12 10:15:00 by ross] mark Text.Read as non-portable, and make a bit more available in Hugs.
     f93d66f [project @ 2003-05-12 10:16:22 by ross] documentation only: tag some things as "GHC only".
     996fa5f [project @ 2003-05-13 11:42:47 by simonpj] Generalise the type of listens slightly; a suggestion from Tom Pledger
     7af82b0 [project @ 2003-05-14 09:11:43 by ross] hide Foreign.Concurrent from Hugs
     a67cd92 [project @ 2003-05-14 09:12:27 by ross] comments
     8210474 [project @ 2003-05-14 17:31:47 by ross] doc tweaks
     b2d709a [project @ 2003-05-16 10:14:22 by simonmar] Now that we have auto packages, it makes sense to keep all the interfaces for hierarchical libraries in the same directory tree.  So now, instead of putting interfaces for package P in $libdir/imports/P, we put them all in $libdir/imports.
     af8613c [project @ 2003-05-17 00:11:29 by ross] Rename per-package configuration files from $(PACKAGE).conf.* to package.conf.*, making them easier to find (since each package is in a separate directory anyway).
     b839129 [project @ 2003-05-19 16:48:18 by ross] non-GHC (and non-NHC): simplistic implementation of byte array I/O.
     cf6f87d [project @ 2003-05-20 09:44:08 by stolz] Add missing 'Constr' for conOf/consOf in examples
     78cf79f [project @ 2003-05-21 16:31:59 by ross] add finalizerFree :: FunPtr (Ptr a -> IO ())
     ef702f5 [project @ 2003-05-22 06:37:08 by chak] The FFI Addendum requires `Foreign' to re-export `Data.Bits'.
     66d09d1 [project @ 2003-05-22 08:20:38 by ross] trim import
     fa38f9c [project @ 2003-05-22 08:21:49 by ross] add Eq instance (explicit, so Haddock won't be confused)
     69c5373 [project @ 2003-05-22 08:24:32 by chak] Added a `FinalizerPtr' synonym as in the FFI Addendum (RC 10).
     f597503 [project @ 2003-05-22 09:40:04 by ross] export architecture-dependent types opaquely.
     5d58c57 [project @ 2003-05-22 09:55:56 by simonmar] Commit an off-by-one fix that I forgot about.
     bef202f [project @ 2003-05-22 10:59:47 by ross] unbreak for Hugs
     7bbc1da [project @ 2003-05-23 08:59:46 by simonmar] Remove the words "A cool hack..." from the documentation of this module, since they refer to the implementation, not the API :-)
     4a7c3de [project @ 2003-05-23 10:12:28 by ross] hide GHC.PrimopWrappers from Haddock.
     a24461b [project @ 2003-05-23 10:13:33 by ross] fix header comment
     1bf8174 [project @ 2003-05-23 10:21:27 by simonmar] Hide this module in the Haddock docs.
     5561861 [project @ 2003-05-23 10:48:55 by ross] replace deriving Eq with explicit instance (twice) because Haddock's limited understanding of derived instances can't figure out these two.
     3f88528 [project @ 2003-05-27 08:03:46 by stolz] GCC 3.3 cpp wibbles
     fdabd46 [project @ 2003-05-27 08:46:38 by malcolm] For nhc98, like hugs, re-export sum and product from the Prelude.
     e18c72b [project @ 2003-05-27 09:48:13 by ralf] Simplified type of gunfold (removed last arg.) And cosmetics.
     9ab599d [project @ 2003-05-27 16:57:09 by malcolm] Unbreak for nhc98, after the addition of FinalizerPtr as a type synonym, and the change of Foreign.C.Types to export all newtypes abstract.
     252a50d [project @ 2003-05-29 14:39:31 by sof] Support for interop'ing with .NET via FFI declarations along the lines of what Hugs98.NET offers, see
     1f36871 [project @ 2003-05-29 17:37:17 by malcolm] For nhc98 only, export the basic C types non-abstractly. This is due to a deficiency in the way newtypes are handled in interface files - the compiler needs full information about the newtype in order to pass values across the FFI.
     0a86d61 [project @ 2003-05-30 09:19:39 by simonpj] Stop omitting Data.Generics from Haddockising, 	now that suitable #ifdefs make it go through.
     100b8c8 [project @ 2003-05-30 21:59:44 by ralf] Major clean-up; would have been nice in GHC 6.00
     86d21b4 [project @ 2003-06-01 17:20:02 by ralf] Minor revision; extension. (customised gread/gshow for String; add a generic count to be used in the definition gtypecount, gnodecount; added a mkF to use const mzero as default and not as in the case of mkM; added a gmapF which is monadic but tries to recover from failure while stile insisting on at least one successful immediate subterm; cosmetics)
     b75c2ff [project @ 2003-06-02 14:32:14 by simonpj] Add (<++)
     1d32e8c [project @ 2003-06-03 22:26:44 by diatchki] Added a first version of the new monad library (experimental). Hopefully one day the "X" will disappear.
     4b4a82f [project @ 2003-06-04 14:52:09 by ralf] Made gread a bit more robust; some renaming of new stuff; add more comments to implementations; added a bit more illustration of gunfold; added or/choice operators
     0ed1528 [project @ 2003-06-05 00:49:31 by diatchki] a huge commit.
     47dbfb0 [project @ 2003-06-05 13:42:51 by ralf] Add listify; other minor revisions.
     d5f6e0d [project @ 2003-06-12 10:31:29 by malcolm] For nhc98, temporarily make foreignPtrToPtr an alias for unsafeForeignPtrToPtr until ghc and hugs catch up.
     86380ee [project @ 2003-06-12 10:53:15 by simonmar] Update to latest revision of the FFI spec:
     3a3ce8e [project @ 2003-06-12 10:55:57 by malcolm] For nhc98, define mallocForeignPtr and friends.
     3e0b191 [project @ 2003-06-12 10:59:00 by malcolm] ... and add newForeignPtr_ for nhc98.
     5220c9a [project @ 2003-06-12 12:55:27 by ross] move portable newForeignPtr from GHC.ForeignPtr to Foreign.ForeignPtr
     a997117 [project @ 2003-06-12 15:15:23 by simonmar] exitWith should be using throwIO not throw.
     b915bd0 [project @ 2003-06-12 16:06:06 by simonmar] Change the type of System.Cmd.rawSystem:
     31a8fed [project @ 2003-06-16 08:02:09 by simonpj] Add Haddock docs, courtesy of Hal Daume
     5ab0e8f [project @ 2003-06-18 08:06:00 by stolz] fork() never returns with EINTR
     35e9537 [project @ 2003-06-19 09:32:04 by wolfgang] fix misleading typo in comment
     7b825a4 [project @ 2003-06-19 10:38:15 by simonmar] Fix Windows build
     074974b [project @ 2003-06-19 10:42:26 by simonmar] Add raiseIO# primop.
     172fb88 [project @ 2003-06-19 12:55:09 by simonmar] Fix typo in doc string
     c566c0a [project @ 2003-06-19 13:04:49 by simonmar] Following near-silence on the libraries list, add
     586cebc [project @ 2003-06-19 13:20:37 by simonmar] Fix reallocBytes: when size is zero, it is supposed to act like free. Which it did, except that we were complaining about the NULL return value from C's realloc and reporting it as an error.
     8fc7c0a [project @ 2003-06-20 14:42:03 by ross] Hugs only: no hSetBinaryMode
     305fb87 [project @ 2003-06-21 20:21:04 by malcolm] Exclude openBinaryFile etc from nhc98 build until we implement it.
     b233cd1 [project @ 2003-06-22 09:24:23 by ross] Hugs only: import throwIO
     722b66b [project @ 2003-06-24 09:40:51 by stolz] Pick up openFileEx/openBinaryFile change in error message
     48b38fa [project @ 2003-06-30 14:08:24 by stolz] Duplex Handles are writeable.
     6994bc1 [project @ 2003-07-02 13:27:35 by stolz] fork() never returns with EINTR
     7c521d9 [project @ 2003-07-03 15:22:04 by sof] [mingw only] asyncDoProc :: FunPtr (Ptr a -> IO ()) -> Ptr a -> IO ()
     cfe0bae [project @ 2003-07-08 15:46:40 by panne] Fixed some Haddock links.
     f09bc1c [project @ 2003-07-08 16:04:54 by panne] Export TestResult, too
     022b889 [project @ 2003-07-08 16:22:52 by panne] Fixed some more Haddock links.
     75131ee [project @ 2003-07-10 19:25:58 by sof] For System.Directory.renameFile on Win32 platforms, implement the Haskell98 semantics of replacing the target file if it already exists (i.e., file/directory renaming is now done by dirUtils.c:__hscore_renameFile().)
     897b35b [project @ 2003-07-16 10:46:29 by panne] Build Control.Monad before Data.HashTable, the latter depends on the former. Shouldn't the build system know about that automatically?
     78662c8 [project @ 2003-07-16 10:55:20 by simonmar] - Make showHex and showOct match the report (don't add leading "Ox" or   "Oo").
     1825139 [project @ 2003-07-16 17:46:52 by sof] [win32]asyncDoProc :: FunPtr (Ptr a -> IO Int) -> Ptr a -> IO Int
     cafacc0 [project @ 2003-07-21 09:26:23 by simonmar] Fix showIntAtBase to match the report.  Its signature was previously
     24a1332 [project @ 2003-07-21 13:21:02 by malcolm] >  Build Control.Monad before Data.HashTable, the latter depends on the >  former. Shouldn't the build system know about that automatically?
     5b50727 [project @ 2003-07-21 16:50:20 by simonmar] GHC's instance Show Handle is wrong, because it is impure.  This commit makes the Show instance pure by restricting what it shows to just the filename.
     989ce50 [project @ 2003-07-22 09:55:05 by ross] jiggle to make System.Posix.Directory work for Hugs
     8bd5462 [project @ 2003-07-22 12:55:50 by simonmar] Export hShow (GHC only for now).
     c064f2f [project @ 2003-07-22 14:38:02 by simonpj] Remove out-of-date apology about mkTyConApp; merge to stable
     c625c89 [project @ 2003-07-23 10:27:49 by wolfgang] Fix regular expressions for Mac OS X.
     e8f520f [project @ 2003-07-23 15:39:54 by simonmar] GHC/PrimopWrappers.hs fix for BootingFromHc
     94ddad9 [project @ 2003-07-24 07:49:33 by simonpj] A gross hack to stop the pretty-printer going into an infinite loop. What happens is that 'indent' is given a negative number, and that made it loop.  This patch checks for the negative case, so at least it doesn't loop -- but I don't understand why the indent ever goes negative, so there's still something wrong here.
     0c3ad5b [project @ 2003-07-24 10:41:38 by simonpj] Add more comments
     b0d6404 [project @ 2003-07-24 12:05:42 by panne] GCC 3.3 is a bit picky about macros with a varying number of arguments, even when they are skipped. Strange...
     88738f0 [project @ 2003-07-24 12:19:57 by ralf] Major refactoring of Data/Generics. This also affects the compiler (because of deriving issues). This is an intermediate commit. The library is supposed to compile fine. But the deriving stuff for Data needs to be revised. The testsuite for Data/Generics will not pass. gread is broken at the moment. So it is strongly recommended not to cvs upd for a few hours or a day.
     02c4a38 [project @ 2003-07-24 13:53:20 by simonmar] Make pre-processing primops.txt from this directory work properly.
     97630a1 [project @ 2003-07-24 14:20:23 by panne] Quick fix from Ross to get the Hugs builds working again. I'm not sure what the right fix is, e.g. is moving sameType to Data.Types enough?
     f08ff98 [project @ 2003-07-24 15:13:44 by ross] exclude Data.Generics.* from Hugs
     0e0f869 [project @ 2003-07-24 15:28:06 by simonpj] Minor bugs in generics
     10e9834 [project @ 2003-07-24 16:24:21 by ralf] Addressed Ross' concerns as follows: Included all of Data/Types.hs into Data/Typeable.hs. It really makes sense there anyway.
     4a111aa [project @ 2003-07-25 10:03:51 by simonmar] regcomp: don't attach the regfree finalizer if c_regcomp failed.
     4d056a8 [project @ 2003-07-25 14:36:38 by ralf] Data.Generics is up and running again!
     0ee5e70 [project @ 2003-07-25 15:03:38 by simonpj] Wibbles to gread; Ralf to check
     d10c94c [project @ 2003-07-26 12:43:58 by ralf] Renamed Data/Generics/Strings to .../Text. Implemented generic read by using Text/ParserCombinators/ReadP. This is now how it really should look like. Did some more refactoring in the modules of Data/Generics. I consider the library relatively stable by now. Very experimental stuff is only in Data/Generics/Reify.hs
     4ce37be [project @ 2003-07-28 12:11:46 by malcolm] Use new Data.Dynamic/Data.Typeable story in nhc98.
     e7a4f9e [project @ 2003-07-28 15:03:05 by panne] Markup fixes
     9b454a7 [project @ 2003-07-29 12:03:13 by ross] trim imports
     e6b1378 [project @ 2003-07-29 12:36:52 by ross] exclude Data.Generics.*
     6d7174b [project @ 2003-07-30 08:13:16 by ralf] Rolled back to newtype now that the compiler does not panic anymore for the module Data/Generics/Text.hs.
     62ae5db [project @ 2003-07-31 09:28:47 by ralf] Cosmetic changes. Documentation of Data.Generics at http://www.cs.vu.nl/boilerplate/ is now also again well in line with the major revision of Data.Generics from last week.
     593d4c8 [project @ 2003-07-31 10:48:50 by panne] Merge Foreign.C.TypesISO into Foreign.C.Types
     4621466 [project @ 2003-07-31 17:45:22 by ross] move Parsec out of base into a package parsec (no code changes)
     a846994 [project @ 2003-08-01 09:59:04 by ross] tiny doc fix
     4aa9bf5 [project @ 2003-08-01 10:00:48 by ross] Swapped argument order of `newForeignPtr' and `addForeignPtrFinalizer' to track FFI spec.  (Maybe the Conc ones should do the same?)
     c8c0f59 [project @ 2003-08-01 15:56:11 by panne] Warning police
     601e1a8 [project @ 2003-08-04 10:05:32 by ross] docs copied from the report
     2cbd887 [project @ 2003-08-04 13:49:28 by panne] Fixed hyperlink for exitWith
     a66e620 [project @ 2003-08-04 14:41:55 by simonmar] Make a bunch of foreign imports "unsafe".
     f8581c1 [project @ 2003-08-04 14:47:37 by panne] Fixed hyperlink
     7d58a6f [project @ 2003-08-04 17:30:53 by panne] Fixed hyperlink (at least for GHC docs :-)
     a8f1379 [project @ 2003-08-04 17:52:33 by panne] Synched comments with reality
     dcf4c0d [project @ 2003-08-04 18:07:49 by panne] Export ReadS from Text.ParserCombinators.ReadP, curing CPP trickery a bit
     624f829 [project @ 2003-08-04 18:20:44 by panne] Ooops, forgot one link in the last commit...
     eddc275 [project @ 2003-08-04 18:40:47 by panne] Export HandlePosition
     2526ab0 [project @ 2003-08-05 12:13:29 by panne] Moved QuickCheck into separate package
     0d10d74 [project @ 2003-08-05 17:16:16 by ross] adjust exclusions for Hugs
     bdf2b17 [project @ 2003-08-05 17:24:40 by ross] add type signatures for Haddock's benefit
     8c6764c [project @ 2003-08-05 17:25:30 by ross] fix some identifier links
     9233f90 [project @ 2003-08-08 10:55:22 by malcolm] Adjust the default search path for building library packages with nhc98.
     748af71 [project @ 2003-08-11 13:18:22 by ross] expose unsafeInterleaveIO to Hugs
     73e2796 [project @ 2003-08-11 18:39:56 by ross] rename the cute presentations and use derived instances of Read and Show, as suggested by Tomasz Zielonka.
     d052d71 [project @ 2003-08-18 12:46:21 by panne] Revamped altzone detection. Note that we test only for successful compilation now, not for successful linking, but this is what most autoconf macros do.
     49cf969 [project @ 2003-08-19 16:33:03 by simonmar] Fix incorrect Haddock syntax
     70cce88 [project @ 2003-08-19 16:34:11 by simonmar] Fix reversed flag in mkRegexWithOpts
     fbf9b82 [project @ 2003-08-19 16:39:13 by simonmar] Use the wide-char classifications from the C library if available. This gives us Unicode-aware isLower, isUpper, isAlpha etc.
     7c64b6c [project @ 2003-08-20 10:22:44 by simonmar] Use the wide-char classifications from the C library if available. This gives us Unicode-aware isLower, isUpper, isAlpha etc.
     7c8d57b [project @ 2003-08-20 15:44:19 by panne] * Cleaned up FP_CHECK_ALIGNMENT test a bit.
     d054690 [project @ 2003-08-20 15:54:45 by panne] Nuked FPTOOLS_O_BINARY test and use FP_CHECK_CONST instead, which is shorter and better (e.g. cross compilation).
     217cc5b [project @ 2003-08-22 08:58:30 by panne] Added a workaround for the Haddock problems introduced by the circular module dependencies regarding Unicode handling.
     cb45254 [project @ 2003-08-22 22:11:03 by sof] [GHC only]: Added missing 'config.h' #include ; needed by getProgName
     dae31cb [project @ 2003-08-22 23:44:40 by sof] pin better location info on IOErrors
     3848b26 [project @ 2003-08-23 00:08:02 by sof] [win32]renameFile:   Try bridging between GetLastError() error values and the   errno-based error handling code in System.Directory. As was,   errors ended up being reported as 'no errors'.
     63c2b2f [project @ 2003-08-23 10:25:52 by ross] non-GHC only: hide functions defined in the Prelude
     f14d763 [project @ 2003-08-26 10:39:55 by ross] Document Data.Char from the H98 Report.
     11d035d [project @ 2003-08-26 20:41:46 by ross] Hugs only: remove unused argument from toClockTimePrim
     ab2c656 [project @ 2003-08-27 08:41:07 by simonmar] Remove duplicate type signature
     d25661c [project @ 2003-08-27 11:03:44 by simonmar] isSpace should only recognise Latin-1 whitespace characters, according to the report.
     59ad9e9 [project @ 2003-08-30 12:26:56 by ross] docs for System.IO.Error
     0522e14 [project @ 2003-08-30 22:55:42 by ross] docs for System.Environment & System.Exit
     785b037 [project @ 2003-08-30 23:01:48 by ross] minor haddock fixes
     e72a1e9 [project @ 2003-08-31 18:41:28 by ross] doc tweaks
     cb41e77 [project @ 2003-09-01 09:12:02 by ross] H98 docs for Data.List
     f0be11e [project @ 2003-09-02 15:31:02 by malcolm] For nhc98, take the corrected (thanks to Ross Paterson) version of fixIO from NHC.IOExtras.
     03bef66 [project @ 2003-09-02 16:07:08 by ross] Deal with systems on which PATH_MAX is undefined, e.g. systems with unlimited path length, like the Hurd (also faulty installations of gcc on Solaris).  In fact getCurrentDirectory only needs a long path size to use as a first approximation, so give it that.
     c4723c7 [project @ 2003-09-03 10:49:19 by simonmar] inputReady(): the time calculation for select() was wrong, forgetting to multiply the milliseconds value by 1000 to get microseconds.
     da79ff3 [project @ 2003-09-05 15:06:48 by ross] doc tweaks
     cd0aded [project @ 2003-09-05 17:36:40 by ross] minimal docs
     82ea78e [project @ 2003-09-08 14:14:37 by simonmar] Doc wibbles
     1a92b1b [project @ 2003-09-08 16:23:57 by ross] ST doc adjustments
     012b14c [project @ 2003-09-10 11:46:58 by simonmar] The finalizer for a ForeignPtr created with mallocForeignPtr better "touch#" the MutableByteArray# after running the other finalizers, otherwise the memory might be garbage collected before we've finished running the finalizers.
     d223107 [project @ 2003-09-10 14:45:24 by simonmar] Quick hack to work around the dynamic exception crashes in GHCi.  The problem is this: the Data.Typeable library (Data.Dymamic in previous versions of GHC) maintains an internal cache mapping type names to unique numbers, and this cache is used for fast comparisons on TypeReps.  In GHCi, there are actually two versions of the Data.Typeable library loaded: one linked to GHCi itself, and the other dynamically loaded, so there are two copies of the hash tables.
     5d16c9d [project @ 2003-09-12 12:29:43 by simonmar] Move setChildStopFlag and queryChildStopFlag to System.Posix.Signals.
     a6d8ea6 [project @ 2003-09-12 13:05:19 by simonmar] Implement pathconf()/fpathconf() wrappers.
     e62ca65 [project @ 2003-09-16 13:03:37 by simonmar] Legacy Removal ~~~~~~~~~~~~~~
     aabd697 [project @ 2003-09-16 13:46:36 by simonmar] Don't strip the trailing slash from the filename '/'.
     5aef5c6 [project @ 2003-09-21 22:20:57 by wolfgang] Bound Threads =============
     f1e5fdd [project @ 2003-09-22 10:20:06 by wolfgang] fix some embarassing typos in the previous commit
     5515cef [project @ 2003-09-22 11:11:54 by ross] cosmetic: move comments inside #ifdefs to avoid confusing people (like Hugs users) who look at the preprocessed output.
     0e2b2bf [project @ 2003-09-22 13:27:19 by wolfgang] Really make the bound threads stuff compile this time (sorry).
     8b0d04d [project @ 2003-09-23 10:09:17 by panne] Unbreak Show instance for Ptr caused by the changes to showHex
     d06f918 [project @ 2003-09-23 13:23:58 by simonmar] micro-optimisation
     506eb20 [project @ 2003-09-23 13:26:30 by simonmar] - Add h{Get,Put}BufNonBlocking
     a02e72d [project @ 2003-09-23 16:13:59 by simonmar] Haddock fix.
     354c8c0 [project @ 2003-09-23 16:18:03 by sof] [win32]: make it compile
     140476b [project @ 2003-09-23 17:33:12 by sof] createPipe, createPipeEx: commented out exports (doesn't appear to be defined anywhere)
     de444f6 [project @ 2003-09-23 18:59:43 by sof] h{Get,Put}NonBlocking: win32 impl
     82fbd98 [project @ 2003-09-24 10:32:12 by simonmar] If we change the terminal settings as a result of hSetBuffering or hSetEcho, then restore them again in hs_exit().  This is just good citizenship on Unixy platforms.
     706c3d6 [project @ 2003-09-24 10:41:11 by simonmar] Add non-blocking versions of hGetBuf, hPutBuf.
     65b1bac [project @ 2003-09-24 11:06:54 by simonmar] Move forkOS_createThread into the RTS so its implementation can be dependent on RTS_SUPPORTS_THREADS, which means we can provide a stub implementation in the !RTS_SUPPORTS_THREADS case, and hence not depend on pthread_create, which requires -lpthread.  The upshot is that GHCi now works again when !RTS_SUPPORTS_THREADS.
     d25f4b7 [project @ 2003-09-24 11:36:24 by simonmar] Add some realToFrac rules for CFloat,CDouble and CLDouble, so that eg. realToFrac :: CDouble -> Double turns into a no-op.
     cb04045 [project @ 2003-09-24 13:26:08 by malcolm] Missing dependency.
     0f9f2a0 [project @ 2003-09-24 14:01:18 by simonmar] Add foldFM_GE, fmToList_GE, keysFM_GE, eltsFM_GE.  (contributed by Tomasz Zielonka via George Russell).
     37335cc [project @ 2003-09-25 14:44:36 by sof] [win32]getCPUTime:   comments + reduce fromIntegral use. No change in functionality.
     01bb943 [project @ 2003-09-25 15:14:44 by panne] To fix dynamic linking issues with Hugs, access saved_termios via getter/setter.
     08ef45e [project @ 2003-09-26 09:26:13 by panne] Saving/restoring termios is only done for GHC
     a6ae0a4 [project @ 2003-10-01 10:57:44 by wolfgang] New implementation & changed type signature of forkProcess
     fb390bd [project @ 2003-10-01 11:00:20 by wolfgang] Add runInUnboundThread to the export list
     922351c [project @ 2003-10-06 13:14:36 by simonpj] MERGE TO STABLE
     bc90621 [project @ 2003-10-07 16:56:33 by sof] peekCString{Len}: tweak GHC impls (why are these provided anyway?)   - Do as for Foreign.Marshal.Array.peekArray and read in length-bounded     string back-to-front.   - force evaluation of CChar->Char conversions.
     3f6e3e9 [project @ 2003-10-09 13:59:33 by stolz] FreeBSD 4.X has an emtpy wctype.h, so test one of the affected functions in Unicode.hsc if it's really there.
     dfe9aca [project @ 2003-10-09 14:01:46 by stolz] Fix flipped arguments to sigprocmask in getSignalMask.
     b124662 [project @ 2003-10-13 03:19:48 by sof] make it useable with msvc + gcc-mingw
     1562165 [project @ 2003-10-13 03:21:20 by sof] cope if regex.h isn't supported by target
     1d94a68 [project @ 2003-10-13 05:09:40 by sof] prev commit too strict wrt mingw
     871d9d9 [project @ 2003-10-13 05:20:37 by sof] extra_libraries: win32 CPP tweak
     d082af5 [project @ 2003-10-13 05:21:37 by sof] more mind-numbing CPP tweaking
     98ca2df [project @ 2003-10-13 05:22:59 by sof] support CFoo iff HTYPE_FOO_T is defined
     123b517 [project @ 2003-10-13 05:23:53 by sof] mingw tweaks + add cbits/consUtils.c to CBITS
     9f1f843 [project @ 2003-10-16 00:18:34 by ross] add withArgs and withProgName to Hugs.
     84f7e2f [project @ 2003-10-16 16:26:43 by ross] fix a couple of id references in haddock docs
     ef02902 [project @ 2003-10-17 16:48:43 by ross] Hugs only: add most of the rest of System.Posix
     e3abc99 [project @ 2003-10-20 12:31:00 by ross] add System.Posix.Signals to Hugs
     7219399 [project @ 2003-10-20 13:16:58 by simonmar] Comment use of $(HavePosixRegex)
     427485c [project @ 2003-10-20 15:56:52 by simonmar] Convert Unicode.hsc to a plain .hs file to fix bootstrapping problems.
     2f1b654 [project @ 2003-10-20 20:00:25 by panne] Again: Fixed previous commit. Our QA department must really be on an extended vacation...   :-]
     41e6e6f [project @ 2003-10-21 13:24:31 by simonmar] Make the GHC implementation of peekCString run in constant stack-space by checking the length of the array first and then working backwards from the end.  Interestingly, this version is faster than the original.
     e2b681a [project @ 2003-10-21 13:27:13 by simonmar] Make peekArray0 run in constant stack-space by testing the length of the array first, then calling peekArray (which works backwards from the end so it can be tail-recursive).
     ece4fc6 [project @ 2003-10-21 13:31:44 by simonmar] - Add _LE duals of the _GE functions - Add minFM and maxFM
     05292e1 [project @ 2003-10-21 13:57:39 by simonmar] Fix bug in hGetBufNonBlocking that meant it would sometimes block.
     381defa [project @ 2003-10-21 14:00:20 by simonmar] oops, revert parts of previous commit that weren't supposed to be included.
     c6a32b7 [project @ 2003-10-21 14:32:43 by sof] appease the GHC bigwigs
     9d6a771 [project @ 2003-10-27 09:56:11 by ross] unswap UNBLOCK/SETMASK (merge to STABLE)
     b3911da [project @ 2003-10-27 12:09:44 by stolz] Avoid setting O_NONBLOCK when already set.
     e75b200 [project @ 2003-10-30 18:51:26 by sof] drop uses of __MINGW32__, no longer needed
     4838ceb [project @ 2003-11-02 00:06:23 by panne] Added an extremely ugly workaround for the broken sigfillset macro on OpenBSD, which misses a cast. Is there a better way?
     65b7479 [project @ 2003-11-02 16:30:16 by panne] * Added workaround for broken sigemptyset * Use #if, not #ifdef for feature tests * Nuked CVS keyword
     e0aa14e [project @ 2003-11-02 17:52:09 by ralf] Minor extension to enable rebuild of Strafunski.
     93cbc6e [project @ 2003-11-04 21:59:23 by ross] Hugs only: add finalizers with environments, as per the latest FFI draft.
     1c3d0af [project @ 2003-11-05 09:58:01 by simonmar] Fix a memory leak in __hscore_readdir() which meant that one struct dirent was leaked at the end of each directory read.
     c469c2c [project @ 2003-11-05 10:43:10 by simonmar] Better documentation for unsafeThaw, unsafeFreeze.
     cfa3827 [project @ 2003-11-05 15:05:12 by ross] doc updates for mallocForeignPtr and friends
     d93c042 [project @ 2003-11-06 12:50:22 by ross] import Prelude if haddocking
     bf6cd58 [project @ 2003-11-06 17:34:00 by simonmar] Doc wibbles
     1cdfc00 [project @ 2003-11-10 15:32:43 by simonmar] Change the documentation title from "Haskell Core Libraries" to "Haskell Hierarchical Libraries".
     1f7f519 [project @ 2003-11-10 15:54:55 by sof] brought into the hier-lib world; stripped away outdated code & comments
     c121d9e [project @ 2003-11-10 15:55:13 by sof] ALL_DIRS: added Control/Parallel
     530afa3 [project @ 2003-11-11 11:50:52 by simonmar] Convert to use Haddock 0.6's combined contents/index functionality for the hierarchical library docs.
     1422071 [project @ 2003-11-13 14:43:58 by ross] Hugs-only tweak
     2657bd7 [project @ 2003-11-13 19:23:12 by panne] Markup fix
     135ae7e [project @ 2003-11-15 22:31:16 by panne] Decouple packages a bit more again: The prologue of the combined index is now generated via shell magic from the package prologues. As a nice side effect, some autoconf magic is gone, so configure.ac is effectively empty now (but not for long... :-)
     eb4afe3 [project @ 2003-11-21 16:24:44 by sof] code tidyup
     d8b08f3 [project @ 2003-11-23 12:23:49 by ralf] Added some trivial observers for type representations.
     51e8c92 [project @ 2003-11-23 12:25:02 by ralf] Refactored some alias for generic builders and readers. Worked out some interested stuff for reification of type structures.
     60d0e4a [project @ 2003-11-23 22:19:35 by ralf] Added the missing Data instance for Either.
     6721ead [project @ 2003-11-26 09:55:22 by simonmar] Declare some libraries to be "stable".
     9129371 [project @ 2003-11-26 10:00:09 by simonmar] oops, revert accidental commit
     fb0fe86 [project @ 2003-11-28 11:08:54 by simonmar] Doc wibble
     ed3a760 [project @ 2003-12-04 18:25:51 by panne] Synched #ifdefs, but only 90% sure if I got it right...
     fa71932 [project @ 2003-12-06 17:48:49 by ralf] Added Data instances for triples and quadruples.
     f85e43a [project @ 2003-12-12 18:29:26 by sof] showIntAtBase:   - implementation uses quotRem [where the remainder isn't always     non-negative -- ditto for divMod, so there's no trivial fix],     negative bases aren't supported; catch this.   - separate argument validity checking from actual digitisation.
     e37f296 [project @ 2003-12-15 17:59:05 by panne] Fixed #ifdefs for Cygwin
     e8c6784 [project @ 2003-12-16 16:54:12 by simonmar] Add Show instance for FiniteMap
     ba05fd2 [project @ 2003-12-16 16:54:42 by simonmar] Add Show instance for Set
     d93ccac [project @ 2003-12-17 17:13:47 by sof] merge rev 1.48.2.4
     ab2349b [project @ 2003-12-17 17:15:12 by sof] merge rev. 1.13.2.1
     123af63 [project @ 2003-12-22 10:56:42 by simonmar] performGC should really do a major GC - this was broken at some point.
     f8c15cf [project @ 2003-12-22 12:23:35 by simonmar] - Fix hGetBuf & hGetBufNonBlocking.  There were various bugs in these   two functions, so I did a complete rewrite (again).  They are quite   hard to get right it seems, so I've put together a test case   (shortly to be added to the test suite).
     c71586a [project @ 2003-12-22 12:41:52 by simonmar] add fillReadBufferWithoutBlocking (required for fixed hGetBufNonBlocking implementation in IO.hs rev. 1.20)
     3e2fc9a [project @ 2003-12-23 12:35:34 by simonmar] Fix yet another bug in hGetBuf/hGetBufNonBlocking
     546370a [project @ 2003-12-23 13:58:17 by simonmar] - Fix up mingw build after changes to hGetBuf etc.   I don't think that hGetBufNonBlocking works correctly on Windows,   because there doesn't seem to be a non-blocking read primitive.  I   haven't tested it, however.
     43683aa [project @ 2003-12-29 17:16:42 by panne] Updated my email address
     b7d62ed [project @ 2004-01-02 19:03:14 by panne] Annual copyright update
     a5c83b2 [project @ 2004-01-05 10:07:25 by ross] doc tweak
     ab631b3 [project @ 2004-01-05 10:07:52 by ross] doc tidy-ups
     a585b70 [project @ 2004-01-05 16:03:34 by simonmar] Add runSTArray and runSTUArray, as suggested by John Meacham. runSTUArray showed up an interesting deficiency in the type system (see comments for details).
     44f2077 [project @ 2004-01-05 16:47:09 by ross] Change the drawing of trees so that long labels work better. The new drawings are narrower but a little longer than before.
     e010c70 [project @ 2004-01-05 17:44:30 by ross] Make runST(U)Array work with Hugs.  This includes explicitly using unsafeFreezeSTArray rather than unsafeFreeze, to avoid relying on rules.
     de519dc [project @ 2004-01-06 10:31:05 by ross] new Queue type, using Chris Okasaki's cute 3-list implementation.
     fb577d2 [project @ 2004-01-06 12:40:00 by simonmar] Fix, and simplify, the getting/setting of errno in Foreign.C.Error.
     2a7b95f [project @ 2004-01-06 14:01:52 by ross] fix for Hugs
     d0241bc [project @ 2004-01-07 12:43:50 by simonmar] Mention that threadDelay rounds its argument down to a multiple of 0.02s.
     575f0f2 [project @ 2004-01-08 15:27:29 by simonmar] update threadDelay docs: delay is rounded up.
     6fb1d48 [project @ 2004-01-10 12:53:42 by panne] Haddock fixes
     e3ffd04 [project @ 2004-01-14 11:16:10 by malcolm] Unbreak for nhc98 after recent errno changes.
     f23b2ec [project @ 2004-01-14 14:19:41 by ross] (Hugs only) add hIsTerminalDevice, hGetEcho and hSetEcho.
     aa8a901 [project @ 2004-01-14 14:58:57 by ralf] Added gdepth to determine depth of a term.
     edcb5e4 [project @ 2004-01-15 14:43:24 by igloo] Split Template Haskell out to its own package and update docs and tests.
     08f5dc7 [project @ 2004-01-20 13:57:25 by ross] use fields in Node
     9889459 [project @ 2004-01-21 17:28:47 by simonmar] __hscore_set_errno() should return void, not int.
     a6cb0ec [project @ 2004-01-23 13:35:16 by ross] add a Functor instance for FiniteMap
     35adccc [project @ 2004-01-26 11:24:54 by simonmar] - fix bug(s) in emptySampleVar - add isEmptySampleVar, with similar caveats on its use as isEmptyMVar
     ebe4fa4 [project @ 2004-01-27 09:52:37 by ross] generalize the type of minusFM
     3d08503 [project @ 2004-01-28 10:04:25 by simonpj] ---------------------------------------   	 Fix the WinME/98/95 double-backslash bug 	  ---------------------------------------
     26a0d9e [project @ 2004-02-02 11:54:32 by ross] add some unfolds (pure, monadic depth-first and monadic breadth-first)
     2d9095f [project @ 2004-02-04 10:51:18 by malcolm] Exclude functions 'unfoldTreeM' and 'unfoldForestM' in nhc98. For some unknown reason they result in a type inference error: "No default for Prelude.Monad"
     b1f75e3 [project @ 2004-02-04 10:52:28 by malcolm] Plumb in Data.Queue for nhc98.
     71bad3c [project @ 2004-02-04 17:00:00 by malcolm] Excluding 'unfoldTreeM' and 'unfoldForestM' is overkill for nhc98. A simpler workaround for the type inference bug is just to omit one type signature from the mutually recursive pair.
     edac88b [project @ 2004-02-04 17:13:53 by ross] plug a warning
     55b084e [project @ 2004-02-05 11:45:59 by ross] Hugs only: use the configure-set variable INLINE_ONLY instead of `extern inline' (which works for gcc but not C99 compilers).
     5e1b65f [project @ 2004-02-05 11:58:21 by malcolm] Fix definition of 'partition' to match the (non-)strictness mandated by the Haskell'98 Libraries Report version.
     a107e3d [project @ 2004-02-05 16:46:32 by igloo] Typo (Frue instead of False for falseName) found during discussion with Duncan.
     dfe7719 [project @ 2004-02-05 18:55:47 by ross] moved the monad transformer libraries into a separate mtl package.
     de871d5 [project @ 2004-02-11 14:01:06 by simonmar] Put double quotes around the -#include flag, so that command-lines can be cut-n-pasted.
     6c4bbb5 [project @ 2004-02-12 14:54:19 by simonpj] Document non-std behaviour of array
     87e3aab [project @ 2004-02-12 14:55:05 by simonpj] Explicit for-alls for Monad (so desugaring knows which order to give type args)
     4daa9de [project @ 2004-02-12 14:55:31 by simonpj] Documentation for floatToDigits
     dd30d01 [project @ 2004-02-12 14:55:55 by simonpj] Comments
     f2c753f [project @ 2004-02-12 21:23:48 by krasimir] Added interface to set/get handler for uncatched exceptions. The handler is invoked from the GHC.TopHandler.topHandler or Control.Concurrent.childHandler when an exception is catched.
     015ffda [project @ 2004-02-12 22:35:25 by krasimir] The UncatchedExceptionHandler is defined only for GHC
     a8be691 [project @ 2004-02-13 12:13:00 by simonmar] uncatched -> uncaught
     8dc1e1a [project @ 2004-02-13 15:17:38 by ross] array doc updates
     252660f [project @ 2004-02-13 17:46:32 by ross] make import Foreign.C.String GHC-only to unbreak Hugs build
     7e9db43 [project @ 2004-02-14 18:18:46 by ralf] Refactored the approach to Twin Traversal. Added some illustrative treatment of polymorphic lists.
     aa52e1c [project @ 2004-02-15 13:04:47 by krasimir] Added support for tracers
     b03b6c5 [project @ 2004-02-15 13:24:42 by ralf] Another commit of boilerplate refactoring related to twin traversal and type introspection. Clean-up. After some reflection the list processing module was not regarded suitable for the library (see List.hs removed).
     8b90cd0 [project @ 2004-02-16 11:08:58 by ross] adjust imports for portability
     08df762 [project @ 2004-02-17 11:16:36 by malcolm] Exclude "config.h" inclusion for nhc98 as well as Hugs.
     84d748e [project @ 2004-02-17 11:21:04 by simonmar] Remove unused argument from commitBuffer
     e4fa830 [project @ 2004-02-17 11:22:22 by simonmar] Use C wrappers for lseek() and open().  On Linux, these functions are macro'd to different versions when large file support is on, so to make the libraries compilable with the NCG we need to use C wrappers for these functions.
     00734d0 [project @ 2004-02-17 11:59:16 by simonmar] Also need to wrap fstat().
     1782c4a [project @ 2004-02-18 15:07:03 by simonmar] stat() needs to be wrapped too
     1afa490 [project @ 2004-02-19 10:42:50 by stolz] Preserve group/other bits in setPermissions.
     bb53111 [project @ 2004-02-20 10:55:09 by stolz] wibble (replace helper function with fromEnum)
     faf38bc [project @ 2004-02-20 17:46:38 by panne] Hugs has hSetBinaryMode, hPutBuf, and hGetBuf now.
     74ddd4c [project @ 2004-02-24 12:39:12 by simonmar] New version of translate for mingw32, which correctly (allegedly) reverses the command-line translation done by the standard C runtime on Windows.
     e439a05 [project @ 2004-02-24 19:49:58 by ralf] Proliferation of unsafeCoerce in Data.Typeable stopped. (There is now just one cast0 which generalises on all previous forms: cast, castss, castarr.) Started classes Typeable1/2 for unary/binary type constructors. Added instances for lists, products, sums, functions, maybies.
     20120b6 [project @ 2004-02-24 19:51:11 by ralf] Twin traversal is now based on accumulating maps. Added polymorphic type extension for type constructors.
     9dbea19 [project @ 2004-02-25 19:21:20 by krasimir] Added finalizeForeignPtr function
     5b4e35c [project @ 2004-02-25 20:10:18 by ralf] Thanks to Sven Panne. The module should be back to Haskell 98 or at least should not break hugs anymore.
     cafe1fc [project @ 2004-02-25 21:20:04 by ralf] Follow-up fix triggered by yesterday's major scrap your boilerplate commit.
     519ca93 [project @ 2004-02-26 18:06:51 by ralf] Simplified kind-polymorphic boilerplate stuff.
     6cab28c [project @ 2004-02-26 18:34:14 by ross] instances for Ordering and tuples (up to 5)
     a18a6fb [project @ 2004-02-27 10:27:41 by simonmar] Update the comments in here after changes in rev. 1.17.
     89a8f1b [project @ 2004-02-27 14:48:16 by malcolm] To make it compile with nhc98, #ifdef out the Typeable[12] instances.
     d6f122d [project @ 2004-02-28 15:35:28 by ralf] Code that uses deriving (... Data ...) will require an updated *compiler* to be in line with these new boilerplate modules.
     d13284e [project @ 2004-03-01 14:47:30 by simonmar] small improvements from Ian Lynagh
     c54909e [project @ 2004-03-01 17:25:46 by malcolm] nhc98: ensure the Either type is identical with Prelude.Either.
     53297f9 [project @ 2004-03-02 22:23:59 by ralf] Once more revised the Data class. You will need to cvs upd the compiler as well.
     54b9d86 [project @ 2004-03-03 11:47:42 by ross] withObject -> with
     960c6ae [project @ 2004-03-03 19:25:41 by malcolm] #ifdefs for nhc98.
     ce6a3ec [project @ 2004-03-04 17:48:27 by igloo] Add missing punctuate definition from Duncan Coutts.
     040d7a9 [project @ 2004-03-05 18:00:35 by malcolm] Plumb System.Time and System.CPUTime into nhc98 libraries build.
     537197d [project @ 2004-03-08 10:22:09 by malcolm] nhc98 (built by ghc/solaris) needs more stack to make System.Time.
     5f93cd4 [project @ 2004-03-16 10:04:17 by ross] comment typo
     f1c55a9 [project @ 2004-03-16 13:46:07 by ralf] Some more refactoring and renaming to be aligned with the boilerplate II paper. Removed the weird module Generics.Reify, the code of which still lives in testsuite (see example reify.hs). One will also need to cvs upd the compiler which again changed slightly with regard to deriving Data.
     16ac5f5 [project @ 2004-03-16 15:19:36 by ralf] I thought that I removed that one.
     35eb22e [project @ 2004-03-17 23:22:51 by ralf] Installed genneric instances for Typeable1, ..., Typeable7. Updated Data/Generics/Instances.hs accordingly.
     08bb853 [project @ 2004-03-19 10:45:42 by simonmar] Bugfix for insert (from the missing-prime class of bugs)
     f8e2916 [project @ 2004-03-19 11:00:02 by simonmar] - fix one performance bug: we weren't updating the bucket count when   expanding the hash table, so too many expansions were happening.
     ca93edc [project @ 2004-03-19 20:31:50 by panne] HACK: Unbreak the Hugs build again, Typeable left the realm of Haskell98 one more time. I slowly doubt if this module belongs to the "base" package at all... If it stays there, things should better be tested with Hugs and nh98 before committing, the latter build probably breaks, too.
     327619b [project @ 2004-03-20 02:37:18 by ross] clean up the TypeableN stuff a bit: GHC uses overlapping instances; everyone else uses explicit instances using provided defaults. Macros paper over the difference.
     c20a754 [project @ 2004-03-20 12:42:27 by ross] Comments (and deleted some of the blank lines Ralf is so fond of).
     8ac0150 [project @ 2004-03-20 13:31:06 by ross] revert a couple of tcnames for greater consistency (fixes dynamic001).
     bb1bb04 [project @ 2004-03-20 18:26:40 by ross] change instances of Typeable to macros
     e367013 [project @ 2004-03-21 19:07:00 by ralf] Implemented renaming for Data.Typeable according to http://www.haskell.org//pipermail/libraries/2004-March/001846.html
     0dd193b [project @ 2004-03-22 14:48:56 by malcolm] For nhc98, at last include the Typeable macros which define the instance decls.
     58a05f6 [project @ 2004-03-24 16:59:51 by simonmar] Add caveat about finalizers (don't refer to Handles from finalizers).
     4941f98 [project @ 2004-03-27 13:18:12 by panne] * Merged Martin Sj-A?gren's patch for multiline descriptions-b * Nuked some TABs in favour of space + some small reformatting * Updated copyright
     edde716 [project @ 2004-03-27 14:15:24 by panne] This package is named "base", not "core".
     d12525b [project @ 2004-03-30 07:05:46 by panne] Added withArrayLen and withArrayLen0
     d69bb11 [project @ 2004-03-30 15:31:35 by ralf] We decided that we want the gunfold primitive back. This avoids some hassle with bottoms and strict datatypes. The compiler now also derives gunfold.
     24646d8 [project @ 2004-03-30 17:02:59 by ross] track Data/Generics/* twists
     7a1aff6 [project @ 2004-03-30 17:54:28 by ross] fix a warning
     8b9443c [project @ 2004-04-02 02:39:29 by igloo] Add support for foreign imports inside quasi-quotes. Gave TH a few more uniques to play with and fixed a typo.
     6cbff23 [project @ 2004-04-05 08:21:39 by simonpj] Use consistent capitalisation
     6fc5861 [project @ 2004-04-06 08:54:02 by panne] Tiny fix in Haddock markup
     c6761cd [project @ 2004-04-06 12:03:05 by simonpj] * Add 'dyn' as an export of TH
     73bf385 [project @ 2004-04-14 09:01:18 by simonmar] indent: don't use tab characters
     5c92527 [project @ 2004-04-20 09:18:46 by simonmar] Fix a file descriptor leak in openFile: if openFd fails, then we weren't closing the newly created descriptor.
     a5b43a2 [project @ 2004-04-20 15:49:58 by simonmar] - comments on INLINability of unsafePerformIO
     63fecf0 [project @ 2004-04-20 15:52:18 by simonmar] New version of fixIO which does eager blackholing.
     58eb623 [project @ 2004-04-23 18:13:07 by ross] Hugs: use the same version of fixIO as GHC
     311dd3b [project @ 2004-05-06 08:44:52 by simonmar] Move the definition of rawSystem into a separate file which we #include in the places it is needed.  This is slightly better than copying the code, since we now need it in three places (ghc/utils/runghc is the 3rd).
     ef5fe77 [project @ 2004-05-06 12:27:47 by wolfgang] Make the documentation and the error messages match the way the threaded RTS is used nowadays (the -threaded flag to ghc rather than ./configure --enable-threaded-rts)
     a4d8708 [project @ 2004-05-09 01:36:32 by dons] When .hc bootstrapping, don't build the Concurrent_stubs
     07cfdb5 [project @ 2004-05-10 09:22:59 by malcolm] RawSystem inclusion belongs inside the __GLASGOW_HASKELL__ ifdef.
     e4e04b3 [project @ 2004-05-19 07:46:20 by simonpj] Print constructor arg types in parens
     5c0be5d [project @ 2004-05-25 09:11:57 by simonpj] Remove spaces around the "%" when showing ratios.
     98c0e98 [project @ 2004-05-25 09:12:29 by simonpj] Fix comment
     9eef5c0 [project @ 2004-05-25 09:27:16 by simonmar] Small performance hack in maxBound::Word.
     15532cb [project @ 2004-05-27 11:32:03 by simonpj] Inline the default method for newArray; big perf boost; comments with the pragma
     b2df702 [project @ 2004-06-01 23:22:32 by igloo] Add missing functions to TH export list (mostly spotted by Duncan Coutts).
     08a11a7 [project @ 2004-06-02 08:23:46 by simonpj] ------------------------------- 	Fix a grevious bug in DsMeta 	which caused a seg fault 	-------------------------------
     40078de [project @ 2004-06-02 12:35:11 by simonmar] The lock arrays are too small on Windows, leading to buffer overruns and crashes when a program opens too many files.
     c8e1c7f [project @ 2004-06-02 16:00:02 by simonmar] Add __hscore_PrelHandle_{send,recv}
     5d55d8f [project @ 2004-06-02 16:07:17 by simonmar] - Win32: when using the threaded RTS, bypass the Async IO stuff and   just make blocking calls to read()/write().
     72c2269 [project @ 2004-06-02 16:09:58 by simonmar] __hscore_PrelHandle_{send,recv}: make these mingw32-only
     06b8d04e [project @ 2004-06-02 16:17:20 by simonmar] Add a comment about fdGetMode, which doesn't work properly on Windows
     2f6c4a3 [project @ 2004-06-12 12:13:12 by panne] timezone fix by Antony Courtney
     463eed2 [project @ 2004-06-13 17:16:40 by panne] The FFI report does not mention that CClock and CTime have instances for Bounded, Real, Integral, and Bits.
     c4ed8d8 [project @ 2004-06-13 20:26:03 by panne] Added missing dependencies of Haskell files to header files they include
     67a040b [project @ 2004-06-13 21:03:46 by panne] Changes related to arithmetic types:
     c0cc013 [project @ 2004-06-14 13:28:52 by malcolm] Solaris/nhc98 fixes: HAVE_TZNAME rather than HAVE_TM_ZONE, and need a "time.h" specification on every foreign import.
     d0e3c12 [project @ 2004-06-15 10:20:05 by malcolm] Add missing instances of Data.Bits.Bits for nhc98.
     509e791 [project @ 2004-06-15 10:29:12 by malcolm] Note dependency of Foreign.C on Foreign.C.*
     e52eabe [project @ 2004-06-15 21:07:23 by panne] Yet another fix for the fact that CTime is not an instance of Integral anymore,
     f75fa29 [project @ 2004-06-16 09:50:25 by malcolm] Typo.
     fc865a7 [project @ 2004-06-22 12:45:55 by ross] Change the interface (but not the implementation) to match the FFI spec:
     870d29d [project @ 2004-06-23 09:47:47 by simonmar] Add documentation from the FFI spec.
     845cb18 [project @ 2004-06-25 10:42:48 by ross] more Ptr/FunPtr documentation
     26197c8 [project @ 2004-06-29 19:10:47 by panne] Centralized compiler differences for requesting additional heap/stack in a single place. Only tested for bootstrapping via hbc, and this needs 170M heap for Language/Haskell/Parser.hs. There seems to be a "small" space leak here... :-]
     c647a31 [project @ 2004-07-01 13:25:09 by malcolm] Revert from common heap/stack options to per-package options.  Since hbc's runtime requirements are on occasion so much larger ghc/nhc98, break out EXTRA_HBC_FLAGS as a separate variable.
     b4c1b8e [project @ 2004-07-01 14:49:11 by malcolm] Heap-profiling build bootstrapped with nhc98 requires more heap.
     618f167 [project @ 2004-07-01 18:05:00 by panne] Increase heap size and stack size when building via hbc
     c4919d4 [project @ 2004-07-11 09:20:07 by panne] Use "flat" names for the type constructors of Ptr/StablePtr/IORef. This might be debatable, but at least it is consistent with the rest of the types.
     94e9096 [project @ 2004-07-19 11:29:39 by simonpj] Template Haskell improvements
     8d20bc3 [project @ 2004-07-23 11:34:31 by ross] docs only
     07ed441 [project @ 2004-07-23 13:24:04 by ross] docs only
     803fb54 [project @ 2004-07-23 15:26:06 by ross] tweak comment
     02a07c4 [project @ 2004-07-23 15:31:59 by ross] To make Text.Regex.Posix work with Hugs, move cbits/regex/regex.h under include, where Hugs can find it.
     74f1415 [project @ 2004-07-26 13:26:41 by ross] docs only
     43cbf96 [project @ 2004-07-26 17:22:41 by ross] a few odd docs
     0caf196 [project @ 2004-07-27 10:35:54 by ross] haddock fodder
     7684c3d [project @ 2004-07-28 10:32:11 by ross] haddock food
     0d080ea [project @ 2004-07-30 06:16:00 by krasimir] add copyFile function
     117f7f3 [project @ 2004-07-30 20:33:54 by krasimir] add copyFile to the export list
     c289c80 [project @ 2004-07-30 22:17:44 by krasimir] fix
     143c726 [project @ 2004-07-30 23:29:41 by ross] copyFile is GHC-only at the moment
     ded9c50 [project @ 2004-08-03 19:36:41 by panne] Fixed spelling of "http-equiv" attribute
     c61e042 [project @ 2004-08-09 10:04:33 by simonmar] quotes: use an appostrophe at both ends rather than a grave accent at the front and an apostrophe at the end.
     3b49acc [project @ 2004-08-09 12:00:34 by simonmar] whitespace changes to the header only, for new compatibility with new Haddock
     0037574 [project @ 2004-08-10 11:35:24 by simonpj] Add a Haddock note about dynamic linking
     c03df89 [project @ 2004-08-13 08:50:32 by simonmar] work around stricter CPP in GCC 3.4.1
     8c7d098 [project @ 2004-08-13 10:54:15 by simonmar] Update copyright date
     d029634 [project @ 2004-08-13 10:55:06 by simonmar] Add a Todo
     69eb297 [project @ 2004-08-13 13:29:00 by simonmar] Changes required be merge of backend-hacking-branch.  Mostly config.h ==> ghcconfig.h.
     5d8d941 [project @ 2004-08-13 13:29:11 by simonmar] Changes required be merge of backend-hacking-branch.  Mostly config.h ==> ghcconfig.h.
     8ed5e5b [project @ 2004-08-16 09:31:15 by simonmar] #ifdefery to work around change in name of config.h
     4cf1f19 [project @ 2004-08-16 11:07:31 by simonmar] More ugly hacks related to the config.h change.  I'm beginning to think maybe this wasn't such a great idea.
     c9e42a8 [project @ 2004-08-16 11:08:47 by simonmar] wibble
     33a5b0b [project @ 2004-08-17 16:48:09 by krasimir] Add getHomeDirectory and getAppUserDataDirectory functions
     5343b0b [project @ 2004-08-18 09:23:19 by malcolm] Add versions of getHomeDirectory and getAppUserDataDirectory for nhc98. (Note: implementation still missing for Hugs.)
     4ed190b [project @ 2004-08-18 09:34:02 by simonmar] Add Haddock comments for getHomeDirectory/getAppUserDataDirectory
     b1825fc [project @ 2004-08-18 17:48:44 by krasimir] add getUserDocumentsDirectory function
     4fd3f0b [project @ 2004-08-19 08:23:01 by simonmar] Add a new Haddock section "Pre-defined directories"
     08ff349 [project @ 2004-08-19 10:54:34 by malcolm] Missing import for nhc98.
     f98834d [project @ 2004-08-20 08:45:52 by simonpj] Better handling of overflow conditions for Enum Int.
     72a29d8 [project @ 2004-08-21 10:56:59 by panne] Haddock fix
     92a4127 [project @ 2004-08-23 11:53:08 by simonmar] Fix deadlock problem when the difference list for \\ refers recursively to the array.
     511830f [project @ 2004-08-25 16:20:13 by sof] Be resistant to missing CSIDL_* defines
     4ff2edf [project @ 2004-08-25 18:35:29 by sof] extrs_libraries{mingw32}: replace 'shell32' with 'shfolder'; standard, and more version-proof
     ccf0ddb [project @ 2004-08-25 18:42:47 by sof] __hscore_d_name(), __hscore_end_of_dir(): de-platformify and use  feature #defines instead.
     5a77cb7 [project @ 2004-08-31 09:07:26 by ross] make the new directory queries available to all implementations, though the mingw versions only work for GHC.
     aca3bd8 [project @ 2004-09-01 09:47:31 by simonmar] Win32 rawSystem: set errno to EINVAL on error.  This is a gross hack, but is slightly better than the existing situation (errno not set at all, caller tries to report errno and draws a blank).
     c120549 [project @ 2004-09-01 15:57:13 by ross] devolve the recently added dirent checks to a new libraries/base/configure.ac
     aebf6b5 [project @ 2004-09-02 05:57:41 by dons] Trying to closedir the wrong pointer in "readdir sets errno" test. This caused test to dump core, leading to 'bogus' value of test result, which breaks the build.
     585004a [project @ 2004-09-06 09:07:45 by ross] Text.Regex.Posix is portable (because it includes an implementation)
     8283965 [project @ 2004-09-06 17:20:02 by ross] add some RULES
     d47eab1 [project @ 2004-09-07 15:35:41 by stolz] Add cpp-protected signals sigINFO & sigWINCH if available. (An autoconf-wizard might want to look at the bottom of configure.ac, the similarities between HAVE_SIGPOLL, HAVE_SIGINFO & HAVE_SIGWINCH can surely be factored out)
     e1f293d [project @ 2004-09-08 11:10:08 by ross] typos in comments
     2de5944 [project @ 2004-09-08 15:13:20 by ross] remove unneeded #includes of ghcconfig.h
     a05881c [project @ 2004-09-10 08:29:14 by stolz] Fix build on Solaris: CTime is no longer an instance of Integral, so do the realToInteger-dance.
     8138525 [project @ 2004-09-10 20:38:53 by ross] docs
     095ff7a [project @ 2004-09-10 22:43:20 by ross] doc tweaks
     c9a7587 [project @ 2004-09-15 13:51:00 by stolz] - Remove configure tests for SIG{POLL,INFO,WINCH}:   Testing via #ifdef SIGFOO should be sufficient. - Change #if HAVE_SIGPOLL to #ifdef SIGPOLL - Remove SIGINFO/WINCH from package base: they'll reappear in package unix   in System/Posix/Signals.Exts.
     9ff25c7 [project @ 2004-09-18 12:49:59 by panne] Make autoupdate 2.52 happy, mainly by using the new formats of AC_INIT and AC_OUTPUT. This has the nice side effect that all "packages" have now a name, a version, a bug-report address, and a tar name, yielding better output with "configure --help=recursive". Nuked an unused AC_STRUCT_ST_BLKSIZE test on the way.
     a8ab7a3 [project @ 2004-09-20 16:35:12 by sof] openFile: have Haddock comments mention openBinaryFile
     0b31efa [project @ 2004-09-22 08:37:01 by panne] * Replace obsolete macro AC_TRY_RUN with AC_RUN_IFELSE * Same for AC_TRY_LINK and AC_LINK_IFELSE * Minor cleanup
     3cf8ba9 [project @ 2004-09-27 09:04:15 by ross] update documentation of memory allocation
     c346bd4 [project @ 2004-09-28 09:02:13 by simonmar] - Move foldl1 to Data.List - Provide a strict version of foldl1, namely foldl1' - Move minimum, maximum to Data.List - Provide specialised versions of minimum & maximum for Int, which use foldl1'
     e0ed007 [project @ 2004-09-28 11:29:29 by simonmar] - export foldl1' - specialise minimum/maximum for Integer too
     7ba52e7 [project @ 2004-09-28 12:38:55 by simonmar] Add update, and improve documentation of insert.
     7b11673 [project @ 2004-09-28 23:34:26 by ross] unbreak for non-GHC implementations
     ee2d0b9 [project @ 2004-09-29 10:29:13 by ross] haddock markup
     c590df4 [project @ 2004-09-29 15:46:53 by simonmar] Move this to the Attic
     7d8c46b [project @ 2004-09-29 15:50:51 by simonmar] Process reorganisation: the System.Process library moves into base, and System.Cmd is re-implemented in terms of it.
     56e8e42 [project @ 2004-09-29 22:48:06 by krasimir] compile execvpe only under Unix. The mingw's process.h header also contains definition for execvpe which conflicts with our definition.
     42522f7 [project @ 2004-09-29 22:49:36 by krasimir] Change file extension. We don't need hsc2hs here.
     9fee399 [project @ 2004-09-30 08:54:00 by simonmar] Update the signature of execvpe() to match the one in HsBase.
     79d7b55 [project @ 2004-09-30 09:42:17 by simonmar] Haddock fixes
     87cd92d [project @ 2004-09-30 10:01:46 by malcolm] Add a type signature to help nhc98 out.
     1169da6 [project @ 2004-10-02 07:14:38 by dons] Undef PACKAGE_NAME PACKAGE_STRING PACKAGE_BUGREPORT PACKAGE_TARNAME coming in from ghcconfig.h, so that we can use HsBaseConfig.h versions without screenfulls of cpp warnings.
     f5768c7 [project @ 2004-10-02 07:34:38 by dons] Bind raiseSignal to genericRaise, on OpenBSD only, atm.
     0c3fe86 [project @ 2004-10-05 07:43:07 by mthomas] Nonexistent file stopped entire install for libraries.
     bba137b [project @ 2004-10-05 12:51:33 by simonmar] inputReady foreign import should be "safe.
     a708d56 [project @ 2004-10-05 15:56:17 by simonmar] If we try to use a finalized handle, then throw a useful exception. Before, the thread would just block forever on the MVar or get a BlockedOnDeadMVar exception.
     51fb2f8 [project @ 2004-10-06 10:13:07 by ross] make the evil PACKAGE_* hacks consistent
     a3f5ade [project @ 2004-10-06 11:11:34 by ross] Add getEnvironment from hslibs/lang/SystemExts.  This differs from the System.Posix.Env version in not failing if an entry lacks an '=' sign.
     e144dab [project @ 2004-10-06 15:02:41 by malcolm] Dummy implementations of openBinaryFile and hSetBinaryMode for nhc98.
     b30fe6b [project @ 2004-10-06 23:45:37 by dons] Fix order of PACKAGE_* #undefs. They must appear before HsBaseConfig.h
     898d6ce [project @ 2004-10-07 09:42:28 by malcolm] Oops, fix impdecl/fundecl ordering.
     91e09c5 [project @ 2004-10-07 13:13:22 by stolz] Bring declaration of runProcess back in line with prototype: pid_t (ProcHandle) isn't compatible with int on SunOS.
     5556c65 [project @ 2004-10-08 10:28:37 by simonmar] - make sure we don't overflow the table - use a checked array index just in case we *do* try to overflow - fix a harmless off-by-one
     58056a8 [project @ 2004-10-08 12:04:48 by ross] revert previous change, so now these includes don't define PACKAGE_*
     763b37c [project @ 2004-10-08 12:07:02 by ross] Hugs can't handle System.Process yet
     8721065 [project @ 2004-10-08 21:21:08 by malcolm] Fix layout to Haskell'98.
     791c906 [project @ 2004-10-09 07:51:06 by panne] Unbreak Hugs by moving pPrPr_disableITimers and execvpe to System.Posix.Internals (base package) and use it from System.Posix.Process (unix package).
     246a7e6 [project @ 2004-10-11 10:54:57 by simonmar] genericRaise() hack needed on FreeBSD too.
     038160e [project @ 2004-10-12 17:45:44 by ross] unused line
     e4069c6 [project @ 2004-10-13 10:24:16 by simonpj] c_execvpe & pPrPr_disableITimers: remove these in a Windows build.
     386b65b [project @ 2004-10-14 14:58:50 by simonmar] Threaded RTS improvements:
     1dd73bc [project @ 2004-10-17 00:08:08 by ross] markup
     ee9344e [project @ 2004-10-17 00:09:58 by ross] move some GHC-specific implementations into GHC.*
     0ab9041 [project @ 2004-10-17 00:22:03 by ross] tighten imports
     45140ff [project @ 2004-10-25 13:40:08 by simonmar] Doc update: notes on finalization of Handles
     83bfac0 [project @ 2004-10-25 13:47:34 by simonmar] hDuplicate, hDuplicateTo: add finalizers
     157f045 [project @ 2004-10-27 15:47:23 by ross] adjustments to doc comments
     5857b7e [project @ 2004-11-03 01:10:59 by igloo] Implement TH ForallC constructor.
     8c8be0a [project @ 2004-11-06 10:45:46 by panne] Push down the tests for errno values to the base package. There's really no need testing for this when e.g. building Happy. :-)
     c8098e6 [project @ 2004-11-06 11:10:18 by panne] Moved test for C/ISO types to base package, hopefully testing for all needed headers first.
     ba2b38a [project @ 2004-11-06 13:01:18 by panne] * Changed some '#include "ghcconfig.h"' to '#include "HsBaseConfig.h"' (or added   the latter), tracking the recent autoconf-related changes.
     d3e0473 [project @ 2004-11-06 14:15:06 by panne] * Re-enable large file support * No need to test for lchown here
     5c89384 [project @ 2004-11-06 16:34:25 by panne] 'd->d_name' (where d is of type 'struct dirent*') should always return a pointer to the directory entry's name, regardless if dirent is defined as
     04b8c08 [project @ 2004-11-06 17:03:43 by panne] * Issue a warning when compilation/execution fails during FP_READDIR_EOF_ERRNO   and assume a value of '0'.
     00ab5a6 [project @ 2004-11-07 10:17:22 by ross] move CONST_O_BINARY detection down to libraries/base
     1336b22 [project @ 2004-11-09 15:48:34 by simonmar] Adding Cabal to GHC, stage 1:
     8224acf [project @ 2004-11-09 17:02:23 by simonmar] Make this compile with GHC < 6.3
     351b987 [project @ 2004-11-10 11:27:54 by simonmar] Move the compatibility code for rawSystem from libraries/base into ghc/lib/compat.
     c04f2e1 [project @ 2004-11-11 17:17:30 by simonmar] remove unnecessary #ifdef
     13fd5b4 [project @ 2004-11-11 17:48:49 by simonpj] Fix version skew
     657eb83 [project @ 2004-11-12 12:34:52 by stolz] Push FreeBSD-unicode-detection into package
     731ff7e [project @ 2004-11-12 15:14:17 by simonmar] Note Haskell 98 divergence in isAlpha.
     bcc5c31 [project @ 2004-11-12 17:07:54 by simonpj] Missing #include following per-package config changes
     0d71238 [project @ 2004-11-13 08:21:32 by krasimir] Added the proposed System.FilePath. I also added to System.Directory the canonicalizePath and findExecutable functions.
     0ede3d9 [project @ 2004-11-13 14:37:18 by panne] Get rid of those ugly WinDoze CR/LF
     69695ec [project @ 2004-11-14 10:47:26 by malcolm] Allow new additions to build with nhc98 too.  (I suspect more work is still needed to make them portable to Hugs as well.)
     c310125 [project @ 2004-11-14 10:48:23 by malcolm] Plumb in new addition System.FilePath.
     605f8cb [project @ 2004-11-14 12:32:48 by ross] tweak imports for portability
     128d075 [project @ 2004-11-14 20:25:54 by panne] Tiny refactoring, mostly used as a reminder that '#if blah_platform' tests are evil and should be replaced by feature-based test (autoconf!) and concentrated in few modules. System.FilePath is another great example for this, all #ifs should be replaced by a function handling a possible drive letter + a few separator constants.
     3e32dec [project @ 2004-11-16 18:02:07 by ross] spelling in error message
     92e474d [project @ 2004-11-16 23:36:36 by ross] drop with a negative length should yield the whole list, not []
     f3f979a [project @ 2004-11-17 19:07:38 by sof] Expose Win32 console event handling to the user.
     0b78351 [project @ 2004-11-18 00:56:24 by igloo] Implement FunDeps for TH.
     86b86ee [project @ 2004-11-18 09:56:58 by tharris] Support for atomic memory transactions and associated regression tests conc041-048
     16dfca6 [project @ 2004-11-18 16:39:54 by stolz] Push down more feature-tests
     6cd05c9 [project @ 2004-11-19 12:54:12 by ross] make instance Enum () conform to the Report (though I doubt anyone will notice)
     4f5cc6e [project @ 2004-11-22 10:16:42 by simonmar] Fix example code
     cb578df [project @ 2004-11-22 10:26:46 by simonmar] More fixes to the sample code (thanks to Satnam Singh for pointing out a problem).
     31bcacc [project @ 2004-11-22 14:03:15 by simonmar] Plug a race condition in the IO manager
     00fdbd9 [project @ 2004-11-25 15:01:24 by simonmar] Add explicit 'import Prelude' to fix dependencies (necessary for make -j)
     e8ac1c8 [project @ 2004-11-26 11:58:18 by simonmar] More 'import Prelude's to help make -j.
     33af5e4 [project @ 2004-11-26 15:03:22 by ross] fix tycon name strings
     dc4805e [project @ 2004-11-26 16:00:06 by simonmar] more make -j fixing
     3377074 [project @ 2004-11-26 16:22:09 by simonmar] Further integration with the new package story.  GHC now supports pretty much everything in the package proposal.
     3e3bb28 [project @ 2004-11-26 16:22:12 by simonmar] Further integration with the new package story.  GHC now supports pretty much everything in the package proposal.
     1665a23 [project @ 2004-11-30 10:04:31 by simonpj] Use C comment not Haskell comment in package.conf
     604bd11 [project @ 2004-12-01 17:45:28 by ross] markup
     db861fd [project @ 2004-12-01 17:46:14 by ross] tweaks for portability
     74d0298 [project @ 2004-12-02 14:52:30 by ross] add Henrik Nilsson's combinators for composing with pure functions
     1be134c [project @ 2004-12-02 15:57:02 by ross] Hugs only: replace the CBITS pragma (files relative to cbits) with CFILES (files relative to the root of the package).
     ffe5660 [project @ 2004-12-03 12:19:51 by simonpj] Add nameModule; and PrimTyConI
     961ba6f [project @ 2004-12-03 14:08:07 by ross] added a simple-minded implementation of rawSystem for non-GHC implementations. Also re-instated the doc comment that rawSystem lost in its travels.
     937f8c0 [project @ 2004-12-08 11:05:31 by simonmar] - Update docs on finalizers: we don't guarantee to run finalizers at all,   and you can't express finalizer ordering using touchForeignPtr.
     0af150a [project @ 2004-12-09 09:45:39 by simonmar] Add subRegex & splitRegex
     523390b [project @ 2004-12-09 17:25:15 by simonmar] Haddock only: import Data.Array.IArray, to avoid linking to hidden Data.Array.Base.
     c8292d2 [project @ 2004-12-14 12:37:28 by simonmar] Add Lennart's Printf module, extended by me to include hPrintf.
     4cf1e85 [project @ 2004-12-14 12:44:52 by simonmar] Add instance Typeable MVar
     d62f2ba [project @ 2004-12-14 12:52:03 by simonmar] Some more Typeable instances, as requested on the ghc-users list a while back.
     c5d9bbb [project @ 2004-12-14 13:31:44 by malcolm] For nhc98, get entities from H'98 libraries, rather than redefine them here.
     317468c [project @ 2004-12-14 13:32:38 by malcolm] Plumb in the new Text/Printf module.
     f6507c8 [project @ 2004-12-14 13:55:22 by simonmar] Add Text.Printf
     9b65ef9 [project @ 2004-12-15 12:29:08 by simonpj] Pretty print PrimTyConI
     a95091a [project @ 2004-12-17 15:12:13 by simonmar] Add GHC.ConsoleHandler
     ba4fdad [project @ 2004-12-18 00:43:03 by ross] avoid a warning by defining getDrive only on Windows
     057067e [project @ 2004-12-18 00:45:27 by ross] Add system-dependent filename extensions: exeExtension ("" or ".exe") objExtension (".o" or ".obj") dllExtension (".so" or ".dll")
     14d7589 [project @ 2004-12-18 15:38:08 by panne] * Fixed Haddock comment. Please: Before committing, everybody should test with   "make html" if the documentation is syntactically OK. It is quite frustrating   to find a broken RPM build after several hours and 99% of the work done...   >:-(
     2132742 [project @ 2004-12-21 09:58:13 by simonpj] Comments only
     c257f43 [project @ 2004-12-21 12:12:40 by simonpj] Add GHC.Prim to base package modules
     5f0ba68 [project @ 2004-12-21 14:00:12 by simonpj] Add an instance for Typeable RealWorld; and move the Typeable ST instance to Data.Typeable
     554bbc1 [project @ 2004-12-21 16:42:06 by ross] Hugs only: move the Typeable instance for ST back to Control.Monad.ST.
     e6dc22c [project @ 2004-12-21 17:09:02 by simonpj] ---------------------------------      Template Haskell: dynamically scoped qualified names 	---------------------------------
     097b243 [project @ 2004-12-23 00:02:41 by ralf] Resolved stage1 issues related SPJ's commit "Add more scoped type variables". Incidentally, this provides some input for the recent GHC list discussion on whether to provide lex. scope for function signatures. Not too many modules are affected! Good!
     0043ea0 [project @ 2004-12-23 09:07:38 by simonpj] ---------------------------------           Template Haskell: names again   	---------------------------------
     76672c6 [project @ 2004-12-24 12:12:28 by krasimir] minor performance update for withCAStringLen and newCAStringLen functions. We don't need to calculate the string length twice.
     d7445b6 [project @ 2004-12-24 12:20:18 by krasimir] revert the previous commit it was wrong
     b952ffb [project @ 2005-01-01 23:36:20 by krasimir] add getTemporaryDirectory to the collection of pre-defined directories.
     04fd9bc [project @ 2005-01-01 23:59:58 by krasimir] According to the documentation, the Haskell implementation of Handle should implement single writer/multiple readers locking but the current implementation doesn't work under Windows. This commit fixes this using '_sopen' function instead of 'open'. The former allows to implement system level locking on Windows. The changes doesn't affect other platforms.
     2bbab79 [project @ 2005-01-04 20:15:04 by krasimir] fix haddock comment
     f61189b [project @ 2005-01-05 21:30:05 by krasimir] Added implementation for hSetFileSize. The configure script checks for _chsize (usially Windows) and ftruncate (Linux) C functions and the package uses one of them to implement hSetFileSize.
     72b83e6 [project @ 2005-01-06 16:35:04 by simonmar] Remove the leading '.' from exeExtension, objExtension and dllExtension.  This is for consistency with joinFileExt, which does not expect to see a '.' in the extension.
     8391324 [project @ 2005-01-06 16:37:36 by simonmar] Apply the previous change to the docs, too.
     b4fd512 [project @ 2005-01-06 18:14:40 by ross] extensions no longer include dots
     36f7903 [project @ 2005-01-06 19:10:14 by krasimir] Reduce dependencies for GHC. This allows System.FilePath to be used in some low-level modules.
     7446b65 [project @ 2005-01-06 19:35:05 by krasimir] add temporary files API
     2f90d84 [project @ 2005-01-07 11:37:02 by simonmar] Add unsafeIOToSTM
     d55aeb8 [project @ 2005-01-07 12:22:18 by simonmar] oops, reinstate an import
     3aa11fb [project @ 2005-01-07 13:31:07 by krasimir] fix for readFile001
     d475b16 [project @ 2005-01-07 22:24:55 by krasimir] truncate the file only in WriteMode
     9263e95 [project @ 2005-01-10 00:03:04 by krasimir] Add dropAbsolutePrefix function. (used in Cabal)
     23e6371 [project @ 2005-01-10 23:25:04 by krasimir] move createIfNotExists and removeFileRecursive functions from Distribution.Simple.Utils to System.Directory. The functions are renamed to createDirectoryIfMissing and removeDirectoryRecursive.
     7862413 [project @ 2005-01-11 12:12:36 by ross] haddock fix
     cf5744f [project @ 2005-01-11 12:14:00 by ross] tweak docs of name clashes
     ae91b1d [project @ 2005-01-11 13:20:22 by ross] doc fixes
     5b9a3f1 [project @ 2005-01-11 13:29:34 by malcolm] Use ghc implementation of createDirectoryIfMissing and removeDirectoryRecursive for nhc98 and Hugs too.
     d23613d [project @ 2005-01-11 13:44:39 by malcolm] Hack around the non-portable ReadP library to allow nhc98 to use Data.Version.
     8d142ee [project @ 2005-01-11 14:18:13 by ross] get IOError stuff from System.IO.Error instead of System.IO
     b5efe2a [project @ 2005-01-11 14:36:51 by ross] System.IO no longer re-exports System.IO.Error
     0def01b [project @ 2005-01-11 14:49:07 by ross] untangle #if's
     a2302f6 [project @ 2005-01-11 16:04:08 by simonmar] Use OPTIONS_GHC instead of OPTIONS
     3523844 [project @ 2005-01-11 16:04:32 by simonmar] Use OPTIONS_GHC instead of OPTIONS
     a4dd33a [project @ 2005-01-11 21:26:42 by krasimir] Use "o" extension everywere. Added haddock comment about the possible usage of "obj" for Hugs.
     0498c99 [project @ 2005-01-13 10:23:07 by simonmar] import Prelude explicitly
     8f500d7 [project @ 2005-01-13 10:37:35 by simonmar] Add Data.Map, Data.Set, Data.IntMap and Data.IntSet from Daan Leijen's DData library, with some modifications by JP Bernardy and others on the libraries at haskell.org list.  Minor changes by me to remove the last references to DData, and add a DEPRECATED copy of the old Data.Set interface to the new Data.Set.
     5e11a6a [project @ 2005-01-13 10:46:36 by ross] make comments ASCII
     2d5d0a8 [project @ 2005-01-13 11:14:09 by ross] Hugs only: replace UserError with ResourceExhausted
     e5722b1 [project @ 2005-01-13 11:15:17 by ross] use ioError instead of the GHC-specific ioException
     3d1901f [project @ 2005-01-13 12:09:55 by ross] kludge for cpp's that don't like \ at end of line
     b3a6694 [project @ 2005-01-13 12:26:50 by ross] another cpp hack (that infix declaration occurs 3 times!)
     1ae033e [project @ 2005-01-13 13:31:09 by ross] adjust module header comments (the bit about imports still sounds wierd)
     ac8e3f2 [project @ 2005-01-14 00:00:22 by ross] make these work with Hugs (pending the possible return of Word) and simplify the #if's a bit.
     dfa72b3 [project @ 2005-01-14 12:06:51 by ross] Hugs: use Word like everyone else
     cc1301c [project @ 2005-01-14 12:18:00 by ross] Hugs: include instances for Word
     df1f5bb [project @ 2005-01-14 14:30:42 by malcolm] Minor tweaks to build with nhc98.
     d590170 [project @ 2005-01-14 14:31:58 by malcolm] Hook up the new Text.Map, Text.IntSet, and Text.IntMap modules, and the existing Text.Regex stuff.
     7311bf6 [project @ 2005-01-14 17:01:02 by ross] non-GHC: import Word type
     be5f3d7 [project @ 2005-01-16 11:50:45 by panne] Improved DEPRECATED pragmas a bit
     4edfa30 [project @ 2005-01-16 12:52:21 by ross] added runKleisli as suggested by David Menendez
     7ae3093 [project @ 2005-01-17 11:08:52 by simonmar] Add Data.FunctorM
     ab986ec [project @ 2005-01-17 11:23:25 by ross] doc tweaks
     b6fdb43 [project @ 2005-01-17 13:23:43 by simonmar] Add Typeable instances for the new DData libraries
     33197cc [project @ 2005-01-18 11:23:35 by ross] generalize the types of intersectionWith and intersectionWithKey
     94fee9e [project @ 2005-01-18 15:08:39 by simonmar] Win32: attempt to make inputReady() work on pipes too.  Fixes bug #995658.
     7ec0d5b [project @ 2005-01-19 17:20:31 by ross] document the deprecated functions, and redirect mkSet to fromList
     153e477 [project @ 2005-01-19 22:33:32 by ralf] Added quite a few more Data instances.
     2580de4 [project @ 2005-01-19 23:32:04 by ross] fix name in Typeable instance
     eeb2216 [project @ 2005-01-19 23:33:25 by ross] Move comments inside #if's they refer to -- makes the cpp output, e.g. as seen by Hugs users, more sensible.
     36622b8 [project @ 2005-01-20 10:36:43 by malcolm] Include Typeable instance for nhc98.
     5728000 [project @ 2005-01-20 11:09:54 by malcolm] Hook up Data.FunctorM, and update dependencies from Data.Set, Data.IntMap, Data.Map etc, on Data.Typeable.
     d29794e [project @ 2005-01-20 14:22:26 by simonmar] Fill in the haddock-interfaces and haddock-html fields in the package.conf files.
     ddac311 [project @ 2005-01-20 14:39:09 by malcolm] Lots more new dependencies.
     89eb503 [project @ 2005-01-20 19:00:26 by ross] cross-references and minor doc fixes
     a6c1afd [project @ 2005-01-21 09:55:52 by malcolm] Typo
     c9249be [project @ 2005-01-21 10:52:47 by ross] refine docs a bit
     9d16745 [project @ 2005-01-21 11:44:08 by ross] alter the interface of splitLookup and splitMember, placing the match between the trees of smaller and larger elements in the returned triple.
     565cbfe [project @ 2005-01-21 12:37:05 by simonmar] Update the haddock fields
     2420bf2 [project @ 2005-01-21 15:12:21 by simonmar] hClose on stdin,stdout,stderr now actually closes the file descriptor.  Before, there was no way to actually close these file descriptors, which might be necessary in some cases - especially when stdin/stdout are pipes and you need to indicate to the other end of the pipe that you've finished I/O, but without exiting the program.
     47f3a57 [project @ 2005-01-21 16:02:47 by simonmar] Don't try to run finalizers at program exit.  This turned out to be hard if not impossible to do in general, so now we don't attempt it at all.
     732861d [project @ 2005-01-21 19:59:01 by sof] win32 only:   Tidy up delivery and handling of console events by having the low-level   console event handler signal the RTS thread blocked waiting for I/O.
     865ce29 [project @ 2005-01-21 21:52:56 by panne] *sigh* Once again: Fixed a Haddock comment which broke "make html"... Why on earth do we have "make validate"?? :´-( I think we should introduce some kind of disciplinary punishment for checking in broken Haddock comments, like porting the mangler to a new platform or porting Adjustor.c to an ABI more irregular than the one on PowerPC...
     73dc4c0 [project @ 2005-01-22 12:18:49 by panne] Doc change only: I don't think that toList should give the guarantee that the resulting list is in ascending order...
     11ffbdf [project @ 2005-01-23 11:30:39 by panne] * Nuked one #ifdef in isPathSeparator, the generated code is the same * Added a ToDo for searchPathSeparator
     23e414d [project @ 2005-01-23 13:12:52 by panne] Unify the base and Cabal versions of GetOpt a bit.
     96d9fa6 [project @ 2005-01-23 13:48:19 by panne] Added Isaac's getOpt variant (named getOpt' now), so System.Console.GetOpt and Distribution.GetOpt are identical now.
     df028ab [project @ 2005-01-23 20:20:55 by wolfgang] Flush stdout and stderr also when exiting due to an ExitException.
     44a3357 [project @ 2005-01-24 04:26:17 by wolfgang] Always flush stdout & stderr at exit, even when terminating abnormally due to an exception.
     d0497c6 [project @ 2005-01-25 17:06:39 by ross] add Cabal package descriptions
     0aa48bd [project @ 2005-01-25 22:17:37 by krasimir] Fixed bug with splitFileExt "foo.bar." and splitFileName "foo:bar"
     e11ddba [project @ 2005-01-26 12:23:33 by simonmar] I think InvalidArgument is more useful than OtherError for EBADF.
     3b4e02c [project @ 2005-01-26 13:27:44 by malcolm] Change stability notation from 'stable' to 'experimental', since many people seem to agree there are plenty of bugs here.
     06fa805 [project @ 2005-01-26 14:33:29 by malcolm] Fix module name.
     4608e3e [project @ 2005-01-26 14:36:42 by malcolm] Patch from John Meacham: Generalise a couple functions in Data.Map to be usable in an arbitrary monad (rather than being restricted to Maybe).
     3cfdf74 [project @ 2005-01-26 14:55:41 by simonmar] Remove System.FilePath pending a redesign of the interface. Temporarily introduce System.Directory.Internals as a home for some of the bits of System.FilePath we were already using elsewhere.
     be80e49 [project @ 2005-01-26 15:19:19 by malcolm] Remove System.FilePath.
     85bdaa2 [project @ 2005-01-26 15:40:37 by simonmar] remove System.FilePath; add System.Directory.Internals.
     a65cba7 [project @ 2005-01-26 15:41:01 by simonmar] Add System.Directory to $(ALL_DIRS)
     e27d450 [project @ 2005-01-27 10:45:47 by simonpj] --------------------------------------------           Replace hi-boot files with hs-boot files   	--------------------------------------------
     030644d [project @ 2005-01-27 10:46:19 by malcolm] Hook up System.Directory.Internals.
     fa67e70 [project @ 2005-01-27 14:19:50 by simonpj] Fix regex.h include stuff; Ross and Malcolm might want to look at the new comment
     c721dd8 [project @ 2005-01-27 14:38:05 by ross] doc tweaks
     3a682aa [project @ 2005-01-28 10:15:44 by ross] fix foreign imports for non-GHC
     2940ff3 [project @ 2005-01-28 13:36:25 by simonmar] Catch up with updates to platform #defines.
     a0808a9 [project @ 2005-01-28 13:54:56 by simonmar] System.Info now exports:
     8013474 [project @ 2005-01-28 14:55:05 by simonmar] Remove unnecessary ghcconfig.h include
     f8249e4 [project @ 2005-01-28 15:03:06 by simonmar] Remove some unnecessary #includes of ghcconfig.h
     3bfe0cc [project @ 2005-01-28 16:09:06 by malcolm] Add compilerVersion for nhc98.
     5762f04 [project @ 2005-01-28 23:33:57 by krasimir] - The output from uncaught exceptions handler is redirected to RTS's errorBelch. - The output from Debug.Trace is redirected to RTS's debugBelch - Usually errorBelch and debugBelch messages go to stderr except for Windows GUI applications. For GUI applications the Debug.Trace output is redirected to debug console and the exceptions message is displayed in message box.
     dbc3cfe [project @ 2005-01-29 16:10:27 by wolfgang] import CString on non-windows platforms.
     353ec34 [project @ 2005-01-31 12:57:26 by simonmar] Cleanup: convert System/Posix/Signals.hsc into a plain .hs file, and use the configure script to get the appropriate constants.
     9f60683 [project @ 2005-01-31 13:45:50 by malcolm] Work around type-system bug (cxt in lhs pattern) in nhc98.
     dd2035f [project @ 2005-01-31 13:46:24 by simonmar] oops, remove debugging modification
     40793bd [project @ 2005-01-31 13:51:22 by simonmar] Some improvements to System.Cmd.{system,rawSystem} on Un*x systems: these commands now do the appropriate signal handling, namely ignoring SIGINT/SIGQUIT in the parent but allowing these signals in the child. This behaviour matches the Un*x system().
     c8d9c29 [project @ 2005-01-31 13:52:26 by malcolm] Make it compile for non-GHC.
     e5c232e [project @ 2005-01-31 15:48:21 by simonpj] --------------------------- 	Some Template Haskell fixes 	---------------------------
     7a2b4ed [project @ 2005-01-31 18:33:48 by ross] fix for non-GHC
     0b45108 [project @ 2005-01-31 19:28:42 by panne] * Unbreak System.Info for Hugs, rearranging the whole module a bit.
     e5ccf95 [project @ 2005-01-31 19:54:22 by panne] Ooops, my evil XEmacs inserted an extraneous character... :-}
     a24f30e [project @ 2005-01-31 21:07:15 by panne] Documentation fix only ("in" is a keyword)
     a69fb32 [project @ 2005-02-01 00:52:20 by ross] more regex test down to libraries/base
     0178a82 [project @ 2005-02-01 10:12:16 by krasimir] Fixes for Windows
     4a660ce [project @ 2005-02-01 11:52:08 by malcolm] Record more dependencies.
     d00ccc5 [project @ 2005-02-01 13:02:37 by simonmar] Make hDuplicateTo actually use dup2() rather than dup().  The difference is noticeable if you want to eg. redirect stdout and then use executeFile or spawn sub-processes.
     19097c4 [project @ 2005-02-01 13:41:41 by simonmar] Move #include of HsBaseConfig.h up
     183400b [project @ 2005-02-01 16:47:27 by malcolm] Make the cpp directives in NHC.SizedTypes directly usable by nhc98 with internal cpphs, avoiding ANSI-only string-pasting.
     48a0f00 [project @ 2005-02-01 17:32:19 by ross] docs
     11e6a2f [project @ 2005-02-02 10:59:16 by malcolm] Build all package sources using hmake.  The inaccurate and ever-changing Makefile dependencies can now all be thrown away, hurrah!
     771e82b [project @ 2005-02-02 13:26:13 by simonpj] I've moved Typeable instances so that they are either in the module that defines the type or in the Typeable module (which defines the class)
     fc8e94f [project @ 2005-02-02 13:45:05 by malcolm] nhc98 has Data.Typeable.
     4539e4a [project @ 2005-02-02 13:47:24 by simonpj] Generalise gfindtype to
     c3b4dd3 [project @ 2005-02-02 14:54:18 by ross] an instance for FunPtr, and minor Hugs fixes:
     dab859f [project @ 2005-02-02 15:20:11 by simonmar] tiny doc fix
     7c6b74a [project @ 2005-02-02 15:21:02 by simonmar] doc fixes
     b83c9d3 [project @ 2005-02-02 15:22:19 by simonmar] Doc fixes
     0eccfe4 [project @ 2005-02-02 15:22:54 by simonmar] Doc fix
     a257592 [project @ 2005-02-02 15:23:59 by simonmar] doc fixes
     de37eee [project @ 2005-02-02 15:28:49 by simonmar] doc fix
     c0c54c7 [project @ 2005-02-03 10:32:11 by ross] hide GHC internals from Haddock
     8471d81 [project @ 2005-02-03 10:38:44 by simonmar] unhide a few modules
     066eef3 [project @ 2005-02-04 14:20:57 by ross] if this can't be hidden, at least make it not-home
     557cf09 [project @ 2005-02-04 14:36:52 by simonmar] Add a comment to Ross's previous commit (sorry, forgot to commit my version of that change earlier).
     7470bd3 [project @ 2005-02-05 00:41:35 by ross] more Haddock fixes.
     c9aef57 [project @ 2005-02-07 09:56:42 by ross] a few docs (for STABLE)
     ac1f0f6 [project @ 2005-02-07 10:26:55 by simonpj] Documentation of flush behaviour of runIO
     9333e0e [project @ 2005-02-07 12:21:29 by simonmar] After no response on libraries at haskell.org... John Meacham's Data.Graph patch, which returns an extra component from graphFromEdges.  The old version of graphFromEdges is available as graphFromEdges'.
     b36d1d2 [project @ 2005-02-07 15:26:10 by malcolm] Place imports before #includes, just to reduce the number of 'file not found' warnings from hmake.
     da1b8a2 [project @ 2005-02-11 01:55:56 by ross] track syntax changes:
     6e9b375 [project @ 2005-02-11 11:36:23 by simonmar] Add bracketOnError
     d0844e7 [project @ 2005-02-13 10:53:13 by malcolm] Eliminate more explicit dependencies in Makefiles: use hmake to create the bootstrapping .hc files, as well as the ordinary .o files.
     03b44bc [project @ 2005-02-15 08:09:43 by ross] Hugs only: use binary handles for copyFile
     018c1c2 [project @ 2005-02-15 21:06:31 by panne] For the 100th time: Fixed Haddock comment syntax. >:-( Perhaps we should really introduce a commit hook which verifies that "make html" works...
     105f0e0 [project @ 2005-02-18 15:06:45 by simonmar] Rename fields in InstalledPackageInfo for consistency with PackageDescription & buildInfo:
     a914eed [project @ 2005-02-18 15:06:47 by simonmar] Rename fields in InstalledPackageInfo for consistency with PackageDescription & buildInfo:
     a65fe8b [project @ 2005-02-18 18:30:40 by ross] Rename package description fields as in InstalledPackageInfo:
     f2e87f7 [project @ 2005-02-21 11:36:07 by simonmar] docs only: clarify language in a couple of places.
     3351d4b [project @ 2005-02-23 06:31:22 by dons] Typo in comment only. Spotted by sjanssen on #haskell.
     ab8e4ad [project @ 2005-02-24 09:58:23 by simonmar] nDoc fixes from Sven Panne.  Generally fixing of Haddock links, adding some signatures, and in some cases exporting type constructors that are mentioned in the types of exported identifiers.
     e5bc0f2 [project @ 2005-02-24 09:58:26 by simonmar] nDoc fixes from Sven Panne.  Generally fixing of Haddock links, adding some signatures, and in some cases exporting type constructors that are mentioned in the types of exported identifiers.
     81e8f16 [project @ 2005-02-25 10:42:24 by simonmar] Add instance Typeable Queue
     2d783d3 [project @ 2005-02-26 12:14:54 by panne] Moved Monoid instances of collection types to Data.Monoid, concentrating non-H98 stuff to a single place.
     4d00bd6 [project @ 2005-03-02 13:11:00 by simonmar] We should not assume that the timeout parameter to select() is updated with the time left over after select() returns.  Linux does this, but FreeBSD does not.
     57c01ca [project @ 2005-03-02 14:46:14 by simonmar] distcleaning of things generated by configure
     e26da1d [project @ 2005-03-02 16:39:56 by ross] *Config.h files are in include/ (MERGE to STABLE)
     e7f3672 [project @ 2005-03-03 05:11:41 by chak] Merge to STABLE
     ad7c83f [project @ 2005-03-04 18:26:48 by sof] Temper 'libm' testing -- if 'atan' is available straight from libc, no need to include libm.
     085be2d [project @ 2005-03-05 14:13:56 by panne] Use Data.Map instead of the deprecated Data.FiniteMap
     12a28a1 [project @ 2005-03-05 15:13:01 by panne] Warning police again: Use the "official" hs_free_stable_ptr from HsFFI.h instead of the internal freeStablePtr, avoiding
     02cf8b2 [project @ 2005-03-07 10:40:44 by simonmar] merge rev. 1.4.2.1 to HEAD
     8a52d92 [project @ 2005-03-07 13:02:37 by simonmar] Add dynTypeRep, from John Meacham.
     4a93ff0 [project @ 2005-03-09 17:47:50 by simonpj] Add instances for Bounded and Show up to 15-tuples
     052a792 [project @ 2005-03-10 10:00:39 by simonpj] Read instances for tuples
     9cc3315 [project @ 2005-03-10 17:23:06 by malcolm] Change configuration for nhc98 on Cygwin only.
     2b179f0 [project @ 2005-03-14 12:18:05 by simonmar] Add Dimitry Golubovsky <dimitry at golubovsky.org>'s Unicode character class implementation.  This will remove the dependency on libc's locale code and give us much more consistent support for Unicode across platforms.
     74348f6 [project @ 2005-03-14 15:22:51 by simonmar] - isDigit only returns True for ASCII digits - Export the new predicates from Data.Char
     e5e2a19 [project @ 2005-03-14 15:46:12 by simonmar] Add Data.Ord and Data.Eq.  Data.Ord also exports the new function 'comparing', as discussed on the libraries list a while back.
     16246ff [project @ 2005-03-14 15:52:03 by simonmar] doc comparing
     44c3027 [project @ 2005-03-14 15:57:04 by malcolm] Plumb in Data.Eq and Data.Ord.
     976352f [project @ 2005-03-14 15:57:57 by simonmar] Add the script used to generate WCsubst.c
     8f6b60a [project @ 2005-03-14 16:26:47 by simonmar] Fix export of Ordering
     b2d8004 [project @ 2005-03-14 17:23:22 by ross] Hugs only: don't import Data.{Eq,Ord}
     1e09384 [project @ 2005-03-14 18:02:48 by ross] move general categories and derived predicates to Data.Char
     b7e91d4 [project @ 2005-03-15 12:15:15 by malcolm] nhc98 can use the WCsubst.c stuff for Unicode as well.
     2173a4b [project @ 2005-03-15 13:38:27 by simonmar] patch for iswprint() from Dimitry.
     b683b7d [project @ 2005-03-15 17:18:24 by ross] remove unused WInt type
     90b7403 [project @ 2005-03-15 17:19:09 by ross] Nhc: export the new names
     77efda4 [project @ 2005-03-16 10:55:04 by simonmar] Back-port changes from WCsubst.c:iswprint()
     56f0efe [project @ 2005-03-16 13:27:03 by ross] Data.Char docs, and hide GHC.Unicode
     9e7c0b2 [project @ 2005-03-18 17:28:08 by krasimir] HACK: The redirection of standard handles under Windows is a little bit tricky because we have to take in account that the application can be GUI. The commit affects only Windows GUI applications.
     7ac781d [project @ 2005-03-19 02:03:26 by sof] [Windows only] for System.Directory / Compat.Directory functionality that probes the OS for local details re: misc user directories, perform late binding of SHGetFolderPath() from shell32.dll, as it may not be present. (cf. ghc-6.4's failure to operate on Win9x / NT boxes.) If the API isn't there, fail with UnsupportedOperation. Packages.readPackageConfigs: gracefully handle excns from getAppUserDataDirectory.
     c0807fa [project @ 2005-03-21 18:04:48 by sof] __hscore_getFolderPath(): Don't limit ourselves to shell32.dll, look up   shfolder.dll too.
     f2ab06e [project @ 2005-03-24 09:19:52 by simonmar] __hscore_getFolderPath is ccall, not stdcall.
     c77f5b4 [project @ 2005-03-27 13:41:19 by panne] * Some preprocessors don't like the C99/C++ '//' comments after a   directive, so use '/* */' instead. For consistency, a lot of '//' in   the include files were converted, too.
     a0f9b18 [project @ 2005-03-30 11:15:21 by simonmar] Ord instance: use toAscList instead of toList (doc change only; these functiosn are the same).
     f9aaf4e [project @ 2005-03-31 21:40:15 by wolfgang] Fix handling of end-of-options markers (--). getOpt would correctly return the non-options after the marker, but it would return errors for things after the marker that looked like options.
     b91764b [project @ 2005-04-02 04:39:35 by dons] Typo in comment only: 	"Causes a the finalizers associated with a foreign pointer..." to 	"Causes the finalizers associated with a foreign pointer..."
     7847930 [project @ 2005-04-04 08:02:53 by simonmar] doc fix
     a0707a5 [project @ 2005-04-04 10:23:03 by simonpj] Indent where clauses
     909df73 [project @ 2005-04-04 12:08:27 by simonpj] Match changes in DsMeta
     58506e5 [project @ 2005-04-04 12:16:45 by simonpj] Default method for unsafeRangeSize should use unsafeIndex!
     7e674ec [project @ 2005-04-05 08:38:24 by simonmar] Determine the location of CMD.EXE (or COMMAND.COM) using the same algorithm as system() from msvcrt.
     cf6ac4d [project @ 2005-04-06 22:05:58 by simonmar] Fix bug in hDuplicateTo
     1d2fa28 [project @ 2005-04-07 14:33:31 by simonmar] Support handling signals in the threaded RTS by passing the signal number down the pipe to the IO manager.  This avoids needing synchronisation in the signal handler.
     0bf709e [project @ 2005-04-07 23:36:48 by sof] import reordering wibble to make it mingw-palatable.
     a7547ec [project @ 2005-04-12 12:57:49 by ross] clarify docs of insert and union.
     8b9d1a1 [project @ 2005-04-17 10:06:16 by panne] Merged "unrecoginzed long opt" fix from Distribution.GetOpt
     70c1fee [project @ 2005-04-21 09:40:41 by simonmar] Add unsafeForeignPtrToStorableArray
     59e583d [project @ 2005-04-22 16:07:36 by sof] make DEBUG_DUMP-conditional code compile
     21efff4 [project @ 2005-04-22 17:00:49 by sof] [mingw only] Better handling of I/O request abortions upon throwing an exception to a Haskell thread. As was, a thread blocked on an I/O request was simply unblocked, but its corresponding worker thread wasn't notified that the request had been abandoned.
     6a56194 [project @ 2005-04-25 13:25:08 by simonmar] Only ftruncate() regular files.
     ae3215c [project @ 2005-05-04 15:07:47 by simonmar] Do *not* inline runSTRep now (see comments for details).
     186152b [project @ 2005-05-06 00:30:56 by sof] [mingw only] Work around bug in win32 Console API which showed up in the GHCi UI: if the user typed in characters prior to the appearance of the prompt, the first of these characters always came out as a 'g'. The GHCi UI does for good reasons one-character reads from 'stdin', which causes the underlying APIs to become confused. A simple repro case is the following piece of C code:
     000d5f5 [project @ 2005-05-13 16:58:02 by sof] flush_input_console__(): if the fd isn't connected to a console, treat flush as a NOP. Merge to STABLE.
     77a3191 [project @ 2005-05-27 19:26:34 by simonmar] hLookAhead: don't wait for a completely full buffer
     e93177c [project @ 2005-06-10 13:19:41 by simonpj] Eta-contract foldr/app RULE to avoid overlap with foldr/id
     8e91a49 [project @ 2005-06-10 13:21:52 by simonpj] Make toConstr strict for tuples, so that it's uniform with all other data types.
     15a0ca0 [project @ 2005-06-27 13:56:32 by simonmar] Fix performance buglet: small Float literals weren't being simplified enough because the fromInteger method is defined in terms of encodeFloat, which itself is an FFI call.  Double was already fixed, this change does the right thing for Float too.
     4ff2fe3 [project @ 2005-06-27 22:31:41 by simonmar] As discussed on ghc-users some time ago, optimise the representation of ForeignPtr to make withForeignPtr more efficient.  ForeignPtr is now represented by a pair of an Addr# and a ForeignPtrContents object.
     084d417 [project @ 2005-07-04 10:22:17 by ross] add Typeable instance
     47c5027 [project @ 2005-07-06 12:13:04 by simonmar] Close Handles passed to runProcess.  Fixes #1187302
     0c7e84a [project @ 2005-07-06 12:25:53 by simonmar] runProcess: allow duplicate Handles to be passed in without deadlock. Fixes #1187295.
     858a97b [project @ 2005-07-06 16:17:36 by malcolm] Fix (from Scott Turner) for a broken implementation of 'split'.
     0d0409f [project @ 2005-07-08 12:22:02 by simonmar] Fix instance Eq Version
     d389445 [project @ 2005-07-08 13:17:47 by simonmar] oops, fix imports
     6d6efd8 [project @ 2005-07-08 17:17:31 by sof] - System.Posix.Internals.FDType.RawDevice: new constructor. - System.Posix.Internals.fdType: map block devices to RawDevice   (but left character devices as still being Streams). - GHC.IOBase.isReadWriteHandleType: new HandleType predicate. - GHC.Handle.hIsSeekable: RawDevices are seekable. - GHC.Handle.openFd: handle RawDevices.    => opening of block devices via std IO opening actions       (open{Binary}File, openFd etc.) should now work better.
     9f17e12 [project @ 2005-07-10 23:01:24 by ross] doc fix from Remi Turk
     4316b2b [project @ 2005-07-14 11:57:09 by ross] Hugs only: more specific imports
     170aa6c [project @ 2005-07-14 11:59:27 by ross] Data.Sequence: general purpose finite sequences (as discussed on the libraries list in May 2005).
     0c691f5 [project @ 2005-07-14 15:36:31 by ross] remove redundant definitions of unsafeRangeSize (same as default)
     48c53ef [project @ 2005-07-19 09:26:03 by ross] use $host instead of $target (mainly affects builds with cabal)
     dd5aff1 [project @ 2005-07-19 17:06:18 by ross] hook in Data.Sequence
     dc174ba [project @ 2005-07-19 17:33:23 by ross] improved definition of gfold for Seq a
     550699d [project @ 2005-07-19 23:22:39 by ross] use feature tests instead of $host to locate socket library
     bce52f0 [project @ 2005-07-21 09:26:30 by simonmar] copyFile: copy the permissions properly (don't use getPermissions >>= setPermissions, which only copies the owner's permissions on Unix).
     6f7a77e [project @ 2005-07-21 10:00:34 by simonmar] Further optimisations to ForeignPtr: now we don't allocate the IORef for a ForeignPtr without a finalizer.
     5fabb36 [project @ 2005-07-21 10:59:27 by ross] more SPECIALIZE pragmas
     e2c3b39 [project @ 2005-07-21 11:00:17 by ross] revise Data instance again, making it like lists
     c7cf5ce [project @ 2005-07-21 11:08:51 by ross] specialize instances too
     efd2f2a [project @ 2005-07-21 12:54:33 by simonmar] Hack Makefiles so that 'make distclean' works even if the tree has not been configured, or 'make distclean' has already been run.
     147c719 [project @ 2005-07-22 08:15:06 by ross] unbreak for non-GHC
     7824273 [project @ 2005-07-22 10:18:51 by simonmar] check the return value of chdir()
     f0a1217 [project @ 2005-07-22 16:25:16 by ross] revert 1.17
     6c85e7a [project @ 2005-07-23 13:28:24 by ross] Hugs: omit commandToProcess
     02c7b60 [project @ 2005-07-23 17:08:03 by ross] non-GHC: implement rawSystem by translating the string for system.
     20d9d69 [project @ 2005-07-26 09:37:27 by ross] PrelHandle functions are only needed by GHC
     55872fc [project @ 2005-07-26 11:00:42 by ross] this version of closeFd is used by GHC only
     e6212d3 [project @ 2005-07-27 00:52:33 by ross] Hugs only: no longer need backslash fiddle now that Hugs leaves them alone.
     e06343d [project @ 2005-07-27 10:04:26 by simonmar] expand docs for touchForeignPtr and newConcForeignPtr
     4bfe7c0 [project @ 2005-07-28 13:27:03 by ross] avoid warnings
     e63043f [project @ 2005-07-29 17:02:07 by ross] use Data.Sequence instead of Data.Queue
     b682cf9 [project @ 2005-07-29 17:03:37 by ross] deprecate in favour of Data.Sequence
     c21af11 [project @ 2005-07-29 17:17:22 by ross] document deprecation
     751d276 [project @ 2005-08-01 13:23:22 by simonmar] Fix
     f51320c [project @ 2005-08-04 11:40:26 by simonmar] fix typo in subRegex (fixes subRegex breakage on Windows)
     5c9f70d [project @ 2005-08-05 09:48:16 by ross] haddock stuff
     eb9ebee [project @ 2005-08-12 10:49:45 by dons] Typo in comment only
     0b4e1f1 [project @ 2005-08-31 12:15:31 by ross] Hugs: use custom versioon of unsafeInterleaveIO
     75e4c3e [project @ 2005-09-01 10:49:07 by ross] GHC only: define toList using build
     eb91a81 [project @ 2005-09-02 14:04:38 by simonmar] back out rev. 1.22; as pointed out by Krasimir Angelov, the optimisation doesn't work (sadly).
     cf2ac7d [project @ 2005-09-18 02:22:33 by dons] Typo in comment only. Spotted by heatsink on #haskell.
     ee014ae [project @ 2005-09-18 10:01:57 by panne] Fixed a few underquoted definitions.
     f547a0a [project @ 2005-09-19 23:24:31 by ross] For compilers other than MSVC and GCC, assume inline has the C99 semantics.
     a5c08f0 [project @ 2005-09-21 11:54:59 by simonmar] improve documentation for getProcessExitCode
     959189a [project @ 2005-09-22 09:43:01 by ross] some docs
     09a8784 [project @ 2005-09-24 15:07:49 by panne] Synched all FPTOOLS_CHECK_HTYPE definitions with the latest changes in libraries/OpenAL/aclocal.m4. Although it is not strictly necessary, keeping things identical is good for consistency. At some point in time we should really find a way to eliminate all this redundancy... *sigh*
     dd3c91d [project @ 2005-09-28 13:18:28 by malcolm] Add an instance of Read to correspond to the existing Show instance. (Implementation based on H'98 Report definition of 'readList'.)
     536fe97 [project @ 2005-09-29 09:31:58 by ross] Tweak Read instance: allow optional parentheses around the outside (for consistency), and don't propagate precedence to elements.
     fcf6bc9 [project @ 2005-10-05 08:43:26 by ross] add Monad and MonadPlus instances
     614127f [project @ 2005-10-05 13:15:44 by simonmar] mention that -O turns assertions off
     c787514 [project @ 2005-10-05 14:04:28 by simonmar] hPutChar should (probably) not be strict in its Char argument
     c149d13 [project @ 2005-10-10 23:32:51 by sof] CSsize fix: this Haskell type is defined iff HTYPE_SSIZE_T is. Merge to STABLE
     145fc12 [project @ 2005-10-12 10:57:40 by simonpj] Comments
     00178b8 [project @ 2005-10-13 10:35:49 by ross] comments re strict/lazy monads
     b1725c6 [project @ 2005-10-13 10:36:42 by ross] MArray instance for Lazy.ST
     df1dd98 [project @ 2005-10-13 11:09:50 by ross] update non-portability reasons
     c50cb4d [project @ 2005-10-18 11:36:25 by simonmar] Fixes to enable base to be compiled with -fasm on Windows:
     d3e1872 [project @ 2005-10-20 10:58:44 by malcolm] Instance of Read for Map, from Georg Martius.
     c5c9f61 [project @ 2005-10-20 15:08:35 by ross] Read instance
     ad514db [project @ 2005-10-20 15:14:22 by malcolm] Add spaces in Show instance, to avoid lexing problems e.g. Foo:=-0.9 in Read.
     963fb60 [project @ 2005-10-20 17:12:28 by krasimir] from Neil Mitchell:
     0c45859 [project @ 2005-10-20 18:07:53 by krasimir] The original version of @findExecutable@ was looking only in the $PATH but under Windows the executables are searched in the current directory, in $PATH and in some other places too. The new version is based on @SearchPath@ function from Win32 API. This is more consistent with @system@ and @rawSystem@
     a50a2c7 [project @ 2005-10-20 23:28:42 by ross] revise Read instance to match < and > as chars rather than lexemes, as suggested by Georg Martius.
     15d768a [project @ 2005-10-21 06:54:13 by ross] repair findExecutable
     09106d4 [project @ 2005-10-21 10:24:58 by ross] export parens, which is useful for writing Read instances.
     59d60fd [project @ 2005-10-21 10:26:57 by ross] conformant Show and Read instances
     564bd0e [project @ 2005-10-21 10:39:56 by ross] conformant Show and Read instances
     b6a50ff [project @ 2005-10-21 10:47:25 by ross] conformant Show and Read instances.
     b585313 [project @ 2005-10-21 13:10:48 by simonmar] cmp_thread returns CInt, not Int
     b167a23 [project @ 2005-10-21 16:25:45 by ross] Data and FunctorM instances for View[LR].
     6925cf0 [project @ 2005-10-21 16:31:23 by ross] oops
     8da605e [project @ 2005-10-22 00:28:21 by ross] define readListPrec too.
     3e03f66 [project @ 2005-10-22 00:37:01 by ross] docs (readListDefault seems pretty useless)
     86436c0 [project @ 2005-10-25 09:01:48 by simonmar] Note that throwTo blocks if the target thread is in a foreign call.
     2cf6d82 [project @ 2005-10-25 09:11:25 by ross] Change the Monoid instance for functions (as proposed on the libraries list, and interpreting silence as assent) from composition to pointwise combination.
     ba5cc0b [project @ 2005-10-25 09:29:16 by ross] Now that Data.Monoid is portable, move Monoid instances for sets and maps back to where the data types are defined.
     a2138cd [project @ 2005-10-25 09:29:47 by ross] add Monoid instance
     b59789a [project @ 2005-10-25 11:13:53 by simonmar] forkIO the signal handlers directly from the IO manager thread, rather than calling an RTS function to do the same thing.
     6f4bd87 [project @ 2005-10-25 12:01:11 by simonmar] fix findExecutable (I hope; don't have an up to date Windows build to test on).
     823c0bc [project @ 2005-10-25 17:31:38 by sof] FPTOOLS_CHECK_HTYPE: correctly scope the resetting of CPPFLAGS; as was, it got blown away if the value was cached.
     9a4eee8 [project @ 2005-10-26 22:52:58 by ross] missing part of rev. 1.13: in unfoldForestM_BF, the output sequence is now in the right order, so don't reverse it.
     04179b4 [project @ 2005-10-27 01:39:40 by sof] [mingw/msys only] Undo long-standing workaround for buggy GNU ld's on mingw/msys; i.e., the linker wasn't correctly generating relocatable object files when the number of relocs exceeded 2^16. Worked around the issue by hackily splitting up the GHCi object file for the larger packages ('base', 'ObjectIO' and 'win32') into a handful of object files, each with a manageable number of relocs. Tiresome and error-prone (but the hack has served us well!)
     0a1998c [project @ 2005-11-07 16:39:04 by simonmar] add GHC notes to mallocForeignPtr
     da71071 [project @ 2005-11-10 12:58:32 by simonmar] Some docs for System.Posix, from Bj?rn Bringert
     2e0fce3 [project @ 2005-11-11 10:37:35 by simonmar] Fix bugs in new signal handling machinery
     a8973d9 [project @ 2005-11-11 12:01:58 by simonmar] On Windows, attach a finalizer to the ProcessHandle so that we can call CloseHandle() when the handle is no longer in use.  Previously we were calling CloseHandle() in waitForProcess and terminateProcess, which prevented making multiple calls to these functions on the same handle.
     f5cf2d4 [project @ 2005-11-11 14:41:01 by simonmar] waitForProcess: if the process died with a signal, just return the exit status rather than EINTR.
     1fd5b3a [project @ 2005-11-13 16:52:14 by jpbernardy] Correct handling of negative numbers in split and splitMember in IntMap and IntSet. Better documentation for insert and insertWith in Maps.
     c2922a3 [project @ 2005-11-17 11:28:43 by simonmar] ProcessHandle is now an MVar, in which we cache the ExitCode of the process when we know it.
     01fe96a [project @ 2005-11-17 15:54:17 by ross] add a couple of Boolean instances
     c472d50 [project @ 2005-11-29 14:31:59 by ross] As foreshadowed on the libraries list, introduce new classes:
     6615952 [project @ 2005-11-30 12:24:18 by simonmar] Add
     7e724f3 [project @ 2005-11-30 16:56:24 by simonmar] - move forkIO into GHC.Conc, so that the I/O manager can use proper forkIO   with an exception handler.  This required TopHandler.lhs-boot.  It's the   right thing, though, since the forkIO implementation is GHC-specific.
     15d096a [project @ 2005-12-01 12:32:24 by simonmar] export childHandler
     c2d0487 [project @ 2005-12-01 12:37:23 by simonmar] oops, forgot to remove forkIO from here
     4a066b8 [project @ 2005-12-02 12:26:22 by simonmar] Apply rev 1.24 from FreeBSD's copy of this file.  Commit message from FreeBSD:
     ce39b6e [project @ 2005-12-02 14:29:28 by simonmar] avoid recursive module trap with Haddock
     f8badeb [project @ 2005-12-03 17:32:01 by jpbernardy] Removed spurious constraint for Monoid (IntMap a) instance
     712e319 [project @ 2005-12-05 11:42:47 by simonmar] Add IO versions of the STM primitives that allocate new transactional variables:
     f4a355a [project @ 2005-12-13 13:28:53 by simonmar] Only Streams can be DuplexHandles, not RawDevices.
     8b4617a [project @ 2005-12-13 15:57:49 by simonmar] Raise the (new) exception NestedAtomically when atomically is nested (using unsafePerformIO).  This is a small improvement over crashing.
     636eb51 [project @ 2005-12-15 11:17:31 by simonmar] Add dataCast1/dataCast2 methods to Data class, as per ticket #633.
     c598bf9 [project @ 2005-12-30 00:18:59 by ross] deriving Data
     bf18366 [project @ 2006-01-02 19:38:01 by jpbernardy] * Left-bias restored * Minor documentation improvements
     d069840 [project @ 2006-01-06 15:46:09 by simonpj] Fix one-char typo in scanl1P
     ae57dba [project @ 2006-01-06 15:51:23 by simonpj] Eta-expand some higher-rank functions.  GHC is about to move to *invariant* rather than *contra-variant* in function arguments, so far as type subsumption is concerned. These eta-expansions are simple, and allow type inference to go through with invariance.
     7a04400 [project @ 2006-01-06 15:52:36 by simonpj] Use a type sig rather than a pattern signature, to avoid depending on GHC's precise impl of scoped type variables. (Which I'm about to change.)
     0dc78a9 [project @ 2006-01-10 10:23:16 by simonmar] improve documentation for takeMVar/putMVar
     a2297e7 [project @ 2006-01-11 11:29:49 by simonmar] add some more warnings about unsafeThaw
     df9eb19 [project @ 2006-01-17 09:38:38 by ross] add Ix instance for GeneralCategory.
     36d59c7 [project @ 2006-01-18 11:45:47 by malcolm] Fix import of Ix for nhc98.
     8112cc1 [project @ 2006-01-19 14:47:15 by ross] backport warning avoidance from Haddock
     fe2c41b Generate PrimopWrappers.hs with Haddock docs Patch originally from Dinko Tenev <dinko.tenev at gmail.com>, modified to add log message by me.
     9f29faa add foldr/build optimisation for take and replicate This allows take to be deforested, and improves performance of replicate and replicateM/replicateM_.  We have a separate problem that means expressions involving [n..m] aren't being completely optimised because eftIntFB isn't being inlined but otherwise the results look good.
     72e08fb When splitting a bucket, keep the contents in the same order To retain the property that multiple inserts shadow each other (see ticket #661, test hash001)
     edd9a0f Add -fno-bang-patterns to modules using both bang and glasgow-exts
     ce3fd0e Give -foverlapping-instances to Data.Typeable
     92e69c5 update ref in comment
     0aaf0b9 simplify fmap
     359978a typo in comment in Foldable class
     e9a5fe6 Drop dependency to haskell98 package
     1a7dff0 declare blkcmp() static
     c592fc5 Years have 365 days, not 30*365
     5e3514b Avoid overflow when normalising clock times
     e30e5f0 make head/build rule apply to all types, not just Bool.
     9acdaa9 addToClockTime: handle picoseconds properly fixes #588
     057d7ff add Data.Set.notMember and Data.Map.notMember
     e91e4ec Added notMember to Data.IntSet and Data.IntMap
     fa0b88a IntMap lookup now returns monad instead of Maybe.
     907255a Oops typo in intSet notMember
     b3217ad Simplify Eq, Ord, and Show instances for UArray The Eq, Ord, and Show instances of UArray were written out longhand with one instance per element type.  It is possible to condense these into a single instance for each class, at the expense of using more extensions (non-std context on instance declaration).
     884e415 deprecate FunctorM in favour of Foldable and Traversable as discussed on the libraries list.
     be5f052 Added 'alter' Added 'alter :: (Maybe a -> Maybe a) -> k -> Map k a -> Map k a' to IntMap and Map This addresses ticket #665
     b884ab3 Add unsafeSTToIO :: ST s a -> IO a Implementation for Hugs is missing, but should be easy.  We need this for the forthcoming nested data parallelism implementation.
     5b9df10 Fix a broken invariant Patch from #694,  for the problem "empty is an identity for <> and $$" is currently broken by eg. isEmpty (empty<>empty)"
     d1372be add runIOFastExit :: IO a -> IO a Similar to runIO, but calls stg_exit() directly to exit, rather than shutdownHaskellAndExit().  Needed for running GHCi in the test suite.
     56c2377 commit mysteriously missing parts of "runIOFastExit" patch
     86dd67c work around a gcc 4.1.0 codegen bug in -O2 by forcing -O1 for GHC.Show See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26824
     30a4c1d Rework previous: not a gcc bug after all It turns out that we were relying on behaviour that is undefined in C, and undefined behaviour in C means "the compiler can do whatever the hell it likes with your entire program".  So avoid that.
     ff829d7 add  forkOnIO :: Int -> IO () -> IO ThreadId
     3d44743 implement ForeignEnvPtr, newForeignPtrEnv, addForeignPtrEnv for GHC
     b17768e in the show instance for Exception, print the type of dynamic exceptions Unfortunately this requires some recursve module hackery to get at the show instance for Typeable.
     968208c Track the GHC source tree reorganisation
     b2322c0 GHC.Base.breakpoint
     209bf03 add Functor and Monad instances for Prelude types
     38f343d add superclasses to Applicative and Traversable
     a23421f add instances
     5ef3a87 add Data.Fixed module
     c5a59fc fix for Haddock 0.7
     7ebcbea RequireOrder: do not collect unrecognised options after a non-opt The documentation for RequireOrder says "no option processing after first non-option", so it doesn't seem right that we should process the rest of the arguments to collect the unrecognised ones.  Presumably the client wants to know about the unrecognised options up to the first non-option, and will be using a different option parser for the rest of the command line.
     d2944d7 fix imports for mingw32 && !GHC
     fc75004 fixes for non-GHC
     efceae6 fix previous patch
     2d5b84e Import Data.ByteString from fps 0.5. Fast, packed byte vectors, providing a better PackedString.
     57580d9 Merge in Data.ByteString head. Fixes ByteString+cbits in hugs
     a9c2fe4 Fix string truncating in hGetLine -- it was a pasto from Simon's code (from Don Stewart)
     03aaf4d inline withMVar, modifyMVar, modifyMVar_
     e7fdfc4 improve performance of Integer->String conversion See  http://www.haskell.org//pipermail/libraries/2006-April/005227.html
     6d442b3 Sync with FPS head
     13ed689 writeFile: close the file on error Suggested by Ross Paterson, via Neil Mitchell
     765afaa use bracket in appendFile (like writeFile)
     b6baa0a fix for non-GHC
     5dc6d8a Add array fusion versions of map, filter and foldl
     916d10f Sat May  6 13:01:34 EST 2006  Don Stewart <dons at cse.unsw.edu.au>   * Do loopU realloc on the Haskell heap. And add a really tough stress test
     cf09e8b Merge "unrecognized long opt" fix from 6.4.2
     5046116 Much faster find, findIndex. Hint from sjanssen
     375fb0c Faster filterF, filterNotByte
     55a6c08 Fixed import list syntax
     0e20df1 Fix all uses for Int that should be CInt or CSize in ffi imports. Spotted by Duncan and Ian
     aea8eeb Sync with FPS head.
     e23efcf Make unsafePerformIO lazy
     5643470 Trim imports
     2f3d49f Make length a good consumer
     7888b96 Two things. #if defined(__GLASGOW_HASKELL__) on INLINE [n] pragmas (for jhc). And careful use of INLINE on words/unwords halves runtime for those functions
     69267ec add GHC.Dynamic
     a8e9e76 add CIntPtr, CUIntPtr, CIntMax, CUIntMax types
     aac3a2c add WordPtr and IntPtr types to Foreign.Ptr, with associated conversions
     90b1678 portable implementation of WordPtr/IntPtr for non-GHC
     26e52f4 Some small optimisations, generalise the type of unfold
     3047c46 Last two CInt fixes for 64 bit, and bracket writeFile while we're here
     c90763d Use our own realloc. Thus reduction functions (like filter) allocate on the Haskell heap. Makes around 10% difference.
     7033cd5 Fix negative index handling in splitAt, replicate and unfoldrN. Move mapF, filterF -> map', filter' while we're here
     419c964 add import Prelude to get dependencies right for Data/Fixed.hs Hopefully this fixes parallel builds.
     3afb16f copyCString* should be in IO. Spotted by Tomasz Zielonka
     484919b #define _REENTRANT 1  (needed to get the right errno on some OSs) Part 2 of the fix for threaded RTS problems on Solaris and possibly *BSD (Part 1 was the same change in ghc/includes/Rts.h).
     35c06b8 Better error handling in the IO manager thread In particular, handle EBADF just like rts/posix/Select.c, by waking up all the waiting threads.  Other errors are thrown, instead of just being ignored.
     787633b Move Eq, Ord, Show instances for ThreadId to GHC.Conc Eliminates orphans.
     ec985c1 simplify indexing in Data.Sequence
     f5453a0 haddock fix
     d0c25f9 Sync with FPS head, including the following patches:
     b9dd64f add a way to ask the IO manager thread to exit
     3d0ff7d Merge in changes from fps head. Highlights:
     cf5ba6a export breakpoint
     915608d small intro to exceptions
     c5abb27 Add the inline function, and many comments
     25ffdea Optimised foreign pointer representation, for heap-allocated objects
     27cc188 a few doc comments
     5aa26c3 add signature for registerDelay
     72dc76a Add minView and maxView to Map and Set
     397210f clarify and expand docs
     6861b99 remove dead code
     0aac978 default to NoBuffering on Windows for a read/write text file Fixes (works around) #679
     e5c1c21 comments for Applicative and Traversable
     7aa1ae2 Wibble in docs for new ForeignPtr functionsn
     3b80a6c Import Data.ByteString.Lazy, improve ByteString Fusion, and resync with FPS head
     96040a0 Disable unpack/build fusion
     a2880cf Avoid strictness in accumulator for unpackFoldr
     2d747fd UNDO: Merge "unrecognized long opt" fix from 6.4.2 This patch undid the previous patch, "RequireOrder: do not collect unrecognised options after a non-opt".  I asked Sven to revert it, but didn't get an answer.
     2bd9530 breakpointCond
     edc5299 make Control.Monad.Instances compilable by nhc98
     1cebefa disambiguate uses of foldr for nhc98 to compile without errors
     06f63fd Add missing method genRange for StdGen (fixes #794)
     2b0673e Improve documentation of atomically
     15ccf58 Fix unsafeIndex for large ranges
     f9a5721 remove spurious 'extern "C" {'
     3612974 add traceShow (see #474)
     7b0cffd deprecate this module.
     784a581 Change the API of MArray to allow resizable arrays See #704
     eef1ca7 remove unnecessary #include "ghcconfig.h"
     970f880 move altzone test from ghc to base package
     0bd0b8a Remove deprecated Data.FiniteMap and Data.Set interfaces
     d176439 bump version to 2.0
     b6f1c8f move Text.Html to a separate package
     57ea42b (non-GHC only) track MArray interface change
     4275eb7 reduce dependency on ghcconfig.h
     e1d2ec1 Warning police: Removed useless catch-all clause
     1c04b40 Warning police: Make some prototypes from the RTS known
     baf6864 Jan-Willem Maessen's improved implementation of Data.HashTable Rather than incrementally enlarging the hash table, this version just does it in one go when the table gets too full.
     4264db2 remove deprecated 'withObject'
     30e4620 fix Data.HashTable for non-GHC
     8b90757 revert removal of ghcconfig.h from package.conf.in
     33d6937 markup fix to Data.HashTable
     878033a Hugs only: disable unused process primitives
     3e3001b eliminate more HOST_OS tests
     22e2f2c remove Text.Html from nhc98 build
     424d170 add mapMaybe and mapEither, plus WithKey variants
     9877f3a use correct names of IOArray operations for nhc98
     3900e67 use Haskell'98 compliant indentation in do blocks
     c0c6e3f fix docs for withC(A)StringLen
     16a9ba1 remove extra comma from import
     03b3d01 generate Haddock docs on all platforms
     2220a18 add alternative functors and extra instances
     0236be1 copyFile: try removing the target file before opening it for writing
     f366c7e copyFile: try removing the target file before opening it for writing
     ff58206 add notes about why copyFile doesn't remove the target
     19b0b8b Sync Data.ByteString with current stable branch, 0.7
     e30f641 Add spec rules for sections in Data.ByteString
     c587da6 explicitly tag Data.ByteString rules with the FPS prefix.
     817e4b1 remove Text.Regx & Text.Regex.Posix These are subsumed by the new regex-base, regex-posix and regex-compat packages.
     dfd5b77 this should have been removed with the previous patch
     4af3f6a Add shared Typeable support (ghc only)
     c11b520 C regex library bits have moved to the regex-posix package
     39c7df3 document minimal complete definition for Bits
     e2c372f add docs for par
     cdb49e2 Workaround for OSes that don't have intmax_t and uintmax_t OpenBSD (and possibly others) do not have intmax_t and uintmax_t types:     http://www.mail-archive.com/haskell-prime@haskell.org/msg01548.html so substitute (unsigned) long long if we have them, otherwise (unsigned) long.
     22ae6fa Clarify how one hides Prelude.catch
     2dd6854 add Haddock marker
     f3789f0 expand advice on importing these modules
     f06cad5 add advice on avoiding import ambiguities
     8e2de3a Hide internal module from haddock in Data.ByteString
     f61e591 Add Control.Monad.forM and forM_
     cee3369 Make length a good consumer
     44e60b1 Fix a bug in mkName; merge to STABLE
     ed03203 Add Show instances
     06a394f Modifications required by the changes to package support in GHC A NameG now needs to store the package name, too.
     8313186 add Data.Foldable.{for_,forM_} and Data.Traversable.{for,forM}
     9b3b565 fix doc typo
     a5e46c7 add Data.Foldable.{msum,asum}, plus tweaks to comments
     d05b325 remove Text.Regex(.Posix) from nhc98 build
     f9ed538 import Control.Arrow.ArrowZero to help nhc98's type checker
     46b8f57 remove some outdated comments
     70cc949 mark nhc98 import hack
     ce524a6 fix hDuplicateTo on Windows deja vu - I'm sure I remember fixing this before...
     7da77b4 Better doc on Data.Map.lookup: explain what the monad is for
     a08a636 New function isInfixOf that searches a list for a given sublist
     08c9165 Cleaner isInfixOf suggestion from Ross Paterson
     bbd10f9 remove obsolete Hugs stuff
     42bc89c Typeable1 instances for STM and TVar
     27de16c Sync Data.ByteString with stable branch
     962f7dd doc tweaks, including more precise equations for evaluate
     2cf2fc3 Add strict versions of insertWith and insertWithKey (Data.Map)
     f40952a fix header comment
     9e9cd6e add typeRepKey :: TypeRep -> IO Int See feature request #880
     1785df7 make hGetBufNonBlocking do something on Windows w/ -threaded hGetBufNonBlocking will behave the same as hGetBuf on Windows now, which is better than just crashing (which it did previously).
     bb521d9 Hugs only: unbreak typeRepKey
     03d0cfd Fix syntax error that prevents building Haddock documentation on Windows
     c38aadd Data.ByteString: fix lazyness of take, drop & splitAt
     f3ff0bf Don't create GHC.Prim when bootstrapping; we can't, and we don't need it
     b628859 Inline shift in GHC's Bits instances for {Int,Word}{,8,16,32,64}
     872e851 STM invariants
     034f0e0 Remove Data.FiniteMap, add Control.Applicative, Data.Traversable, and Data.Foldable to the nhc98 build.
     e99378b add Data.Sequence to nhc98 build
     bdaca42 Use the new Any type for dynamics (GHC only)
     51e8938 fix example in comment
     31a910c `par` should be infixr 0 Alas, I didn't spot this due to lack of testing, and the symptom is that an expression like x `par` y `seq z will have exactly the wrong parallelism properties.  The workaround is to add parantheses.
     485a4c9 Export pseq from Control.Parallel, and use it in Control.Parallel.Strategies
     e1da52d Add intercalate and split to Data.List
     66e2685 rearrange docs a bit
     77ae4e7 minor clarification of RandomGen doc
     235e738 Add deriving Data to Complex
     0472466 #ifdef around non-portable Data.Generics.Basics
     9dcd804 Data.Generics.Basics is GHC-only
     1d21645 Add intercalate and split to Data.List
     53d7e21 fix example in docs
     79c5c8d fix Haddock module headers
     5624fae Use unchecked shifts to implement Data.Bits.rotate This should get rid of those cases, maybe lower the size enough that the inliner will like it?
     5dfb83e Update documentation for hWaitForInput See #972 Merge to 6.6 branch.
     6ad778f enable canonicalizePath for non-GHC platforms
     c12944f non-GHC: fix canonicalizeFilePath
     742f987 Add intercalate to Data.List (ticket #971)
     875a980 remove conflicting import for nhc98
     44b2881 add withFile and withBinaryFile (#966)
     fba6785 redefine writeFile and appendFile using withFile
     c283e0f __hscore_long_path_size is not portable beyond GHC
     24f8f5a Added Data.Function (Trac ticket #979). + A module with simple combinators working solely on and with   functions. + The only new function is "on". + Some functions from the Prelude are re-exported.
     853060d import Prelude
     0ab34eb move fix to Data.Function
     c3a275e whitespace only
     18acbc6 add Data.Function
     528e40d add Data.Function
     6103c6b hide Data.Array.IO.Internals
     2f50f09 add doc link to bound threads section
     87fad1c Fix broken pragmas; spotted by Bulat Ziganshin
     b3cfb51 Added and cleaned up Haddock comments in Control.Parallel.Strategies. Many of the definitions in Control.Parallel.Strategies had missing or unclear Haddock comments. I converted most of the existing plain code comments to haddock comments, added some missing documentation and cleaned up the existing Haddock mark-up.
     5c0d819 Control.Parallel.Strategies: clarified documentation of parListChunk.
     77b3487 add Control.Monad.Instances to nhc98 build
     a60bf5a Control.Parallel.Strategies: deprecate sPar, sSeq, Assoc, fstPairFstList, force and sforce. Code comments indicated that sPar and sSeq have been superceded by sparking and demanding, and that Assoc, fstPairFstList, force and sforce are examples and hacks needed by the Lolita system.
     541ff14 Control.Parallel.Strategies: added NFData instances for Data.Int.*, Data.Word.*, Maybe, Either, Map, Set, Tree, IntMap, IntSet.
     7a95457 Control.Parallel.Strategies clean-up: Added export list to avoid exporting seq, fixed import list strangeness that haddock choked on, and moved the deprecated functions to a separate section.
     277e650 Update comments on Prelude organisation in GHC/Base.lhs
     3b4ae5f LPS chunk sizes should be 16 bytes, not 17.
     706b202 The wrong 'cycle' was exported from Data.ByteString.Lazy.Char8, spotted by sjanssen
     e7f9aae (nhc98) use new primitive implementations of h{Put,Get}Buf.
     38d3dcf fix shift docs to match ffi spec
     7b5235b typo in comment
     8a3e83e One less unsafeCoerce# in the tree
     d65c1d2 make Data.Graph portable (no change to the interface)
     795a06a remove Data.FunctorM and Data.Queue
     18063ef Data.Graph is now portable (enable for nhc98)
     9fd9913 trim imports
     0c99253 Add an example of the use of unfoldr, following doc feedback from dozer
     e6c9171 Add type signatures
     d05d58b Move instance of Show Ptr to Ptr.hs (fewer orphans)
     6b8688cd Hugs: add Control.Parallel.Strategies
     a2730b6 Add comments about argument order to the definitions of gmapQ and constrFields
     126ec36 Make sure the threaded threadDelay sleeps at least as long as it is asked to
     1143767 deriving (Eq, Ord, Enum, Show, Read, Typeab) for ConsoleEvent
     e0bfa41 Add support for the IO manager thread on Windows Fixes #637.  The test program in that report now works for me with -threaded, but it doesn't work without -threaded (I don't know if that's new behaviour or not, though).
     aa6f4f5 Bump version number
     3568a5d don't try to compile this on Unix
     8c741ae dos2unix
     cf2d0bf documentation for installHandler merge to 6.6
     2bc271d Add note about synhronous delivery of throwTo
     2db4355 Mention that throwTo does not guarantee promptness of delivery
     05fccf8 Fix missing comma in Fractional documentation
     9b46e1e Introduce Unknowns for the closure viewer. Add breakpointCond which was missing
     8b1678a Show instance for GHC.Base.Unknown
     43ccc31 Improved the Show instance for Unknown
     8d21eab Added Unknowns for higher kinds
     569100a version of example using Tomasz Zielonka's technique
     bfe7806 Fix crash with   (minBound :: Int*) `div (-1)   as result is maxBound + 1.
     66cb5d0 update section on "blocking"
     7ba42a3 fix threadDelay In "Add support for the IO manager thread" I accidentally spammed part of "Make sure the threaded threadDelay sleeps at least as long as it is asked", which is why the ThreadDelay001 test has been failing.
     ff844b6 Added examples, more detailed documentation to Data.List Extracting sublists functions
     7cf2924 Add IsString class for overloaded string literals.
     7663ed1 Applicative and Monad instances for Tree
     cb089d8 IsString is GHC-only (so why is it in the Prelude?)
     628e887 Add Kleisli composition
     fe68f08 Remove IsString(fromString) from the Prelude
     e745d6c Eliminate some warnings Eliminate warnings in the libraries caused by mixing pattern matching with numeric literal matching.
     b78b87f Improve pretty-printing for Template Haskell
     a52048c bump version to 2.0
     a985f2c Omit package names when pretty-printing Names.
     2eabf4a Add comments, re-order code (no functional effect)
     7919110 Add Lift instances for Maybe and Either
     5825786 Add instance Functor Q and make Quasi require Functor
     117a9ce make Setup suitable for building the libraries with GHC
     de31008 add doc pointers to Foldable
     676eede add derived instances for Dual monoid
     66b09e0 Use static inline rather than extern inline/inline I understand this is more portable, and it also fixes warnings when C things we are wrapping are themselves static inlines (which FD_ISSET is on ppc OS X).
     23d4259 Add some type sigs
     038a87c Whitespace changes only
     8cb0f00 wrapround of thread delays
     a245c49 The Windows counterpart to 'wrapround of thread delays'
     2cd39a9 fix to getUSecOfDay(): arithmetic was overflowing
     6541cb7 fix for hashString, from Jan-Willem Maessen (see #1137)
     5a4614e Fix the types of minView/maxView (ticket #1134)
     1b76e1d Consistently use CInt rather than Int for FDs
     f4c9f5a Fix FD changes on Windows
     c57ae3a Remove more redundant FD conversions
     e2880ed Keep the same FD in both halves of a duplex handle when dup'ing Otherwise we only close one of the FDs when closing the handle. Fixes trac #1149.
     10c329e Fixed PArr.dropP - Thanks to Audrey Tang for the bug report
     5764043 FDs are CInts now, fixing non-GHC builds
     008e6d5 Bump nhc98 stack size for System/Time.hsc
     10b8fa2 GHC.PArr: add bounds checking
     6415e1c Add Data.String, containing IsString(fromString); trac proposal #1126 This is used by the overloaded strings extension (-foverloaded-strings in GHC).
     96bb404 PArr: fixed permutations
     f86201f This patch adds a timeout function to the base libraries. Trac #980 is concerned with this issue. The design guideline for this implementation is that 'timeout N E' should behave exactly the same as E as long as E doesn't time out. In our implementation, this means that E has the same myThreadId it would have without the timeout wrapper. Any exception E might throw cancels the timeout and propagates further up. It also possible for E to receive exceptions thrown to it by another thread.
     e4323ea So many people were involved in the writing of this module that it feels unfair to single anyone out as the lone copyright holder.
     c0ab057 document timeout limitations
     4cc5934 expand docs for forkOS
     ec836af Prevent duplication of unsafePerformIO on a multiprocessor Fixes #986.  The idea is to add a new operation
     a8978ba fix race condition in prodServiceThread See #1187
     44ab526 Add ioeGetLocation, ioeSetLocation to System/IO/Error.hs; trac #1191
     59b427f copyBytes copies bytes, not elements; fixes trac #1203
     6760c51 remove Makefile.inc (only affects nhc98)
     b6533af fix strictness of foldr/build rule for take, see #1219
     a503ca1 Fix the type of wgencat
     4701812 Monoid instance for Maybe and two wrappers: First and Last. trac proposal #1189
     05ebb4b Add min/max handling operations for IntSet/IntMap
     f60d46b Function crossMapP for fixing desugaring of comprehensions
     4b6a4eb fix for nhc98 build
     cedc8a4 put 'unsafeCoerce' in a standard location
     f60d1d7 Fix type mismatches between foreign imports and HsBase.h
     a37d25a add new module Unsafe.Coerce to build system
     02d43d2 Fix C/Haskell type mismatches
     0a39a51 Fix incorrect changes to C types in a foreign import for nhc98. If we use type CTime, it needs to be imported.  Also, CTime is not an instance of Integral, so use some other mechanism to convert it.
     d786c4c Fix braino
     227cf48 HsByteArray doesn't exist
     0266d37 Don't use Fd/FD in foreign decls Using CInt makes it much easier to verify that it is right, and we won't get caught out by possible newtype switches between CInt/Int.
     29d33b0 HsByteArray doesn't exist
     ae2d7c4 make Setup and base.cabal suitable for building the libraries with GHC
     6480393 Unsafe.Coerce doesn't need Prelude
     6bfb0f0 fix isPortableBuild test
     65de149 Hugs only: fix location of unsafeCoerce
     020e535 Allow additional options to pass on to ./configure to be given
     11a95eb Add missing case in removePrefix
     ceef7da Fix -Wall warnings
     2ac9133 Don't turn on -Werror in Data.Fixed This may be responsible for the x86_64/Linux nightly build failing.
     d652584 mark System.IO.openTempFile as non-portable in haddocks
     f7ecae4 add System.Posix.Types to default nhc98 build
     3e534f1 Remove unnecesary SOURCE import of GHC.Err in GHC.Pack
     799c7ed we need a makefileHook too
     e7e4438 For nhc98 only, use hsc2hs to determine System.Posix.Types. Avoids the existing autoconf stuff, by introducing an auxiliary module called NHC.PosixTypes that uses hsc2hs, which is then simply re-exported from System.Posix.Types.
     6525735 MacOS 10.3 needs #include <libc.h> as well
     20edb73 Fix configure with no --with-cc
     65ca4e1 MERGE: fix ugly uses of memcpy foreign import inside ST fixes cg026
     6afe94d inclusion of libc.h is conditional on __APPLE__
     d961dd8 Follow Cabal changes in Setup.hs
     98d48f5 Add extra libraries when compiling with GHC on Windows
     e457960 tweak documentation as per suggestion from Marc Weber on libraries at haskell.org
     aa97e0f Add IsString to exports of GHC.Exts
     4d4bbe3 Remove Splittable class (a vestige of linear implicit parameters)
     ddf3e70 Create showName, which takes an additional prefix-context argument
     5a9552b Thread prefix-context argument through pprName
     9044ae2 Use pprName False in pretty printer
     0c74dc0 Typo fixes, missing {in,ex}ports
     5cbdc0d Properly handle tilde-patterns
     65dd02d Fix precedence passing for patterns in LamE (fixes \((:) x xs) -> x misprinting)
     1b71adb Pretty-print an empty list of fundeps without '|' (should fix #1260)
     de7bb87 parse (but don't pass on) options for ./configure
     d219695 Rejig name printing a bit
     9e55b8f Another name printing tweak
     59f1728 Add missing case in removePrefix
     22d0fcd Fix -Wall warnings
     bbca21c Report fail string before passing control through to underlying fail in Q monad (otherwise it gets lost in GHC's IOEnv) for trac #1265
     dcc8108 Follow Cabal changes in Setup.hs
     279015b Be less quiet about building the base package
     ebde8c2 Trim imports, remove a cycle
     73715a0 Make Control.Exception buildable by nhc98. The nhc98 does not have true exceptions, but these additions should be enough infrastructure to pretend that it does.  Only IO exceptions will actually work.
     c12da1c the "unknown" types are no longer required
     d8f90d7 FIX: #724 (tee complains if used in a process started by ghc)
     aa73318 improve documentation for evaluate
     94fd935 further clarify the docs for 'evaluate'
     8e41494 Give an example of how intersection takes elements from the first set
     698db81 fix imports for non-GHC
     6c1f9ea Build GHC/Prim.hs and GHC/PrimopWrappers.hs from Cabal
     a5e5cd66 Use FilePath to make paths when building GHC/Prim.hs and GHC/PrimopWrappers.hs
     2ce182e When doing safe writes, handle EAGAIN rather than raising an exception It might be that stdin was set to O_NONBLOCK by someone else, and we should handle this case.  (this happens with GHCi, I'm not quite sure why)
     3851b9a correct the documentation for newForeignPtr
     51cdd8a add install-includes: field
     abcb831 Remove the pretty-printing modules (now in package pretty(
     d5ec800 We now depend on pretty
     5d048b7 Remove Control.Parallel*, now in package parallel
     60eef51 Split off directory, random and old-time packages
     565675e System.Locale is now split out
     a77b423 Fix comment: maperrno is in Win32Utils.c, not runProcess.c
     2ecf2cb Split off process package
     9a7a022 Remove Makefile and package.conf.in (used in the old build system)
     f1a7942 Remove Makefile and package.conf.in (used in the old build system)
     4c87ae5 remove directory, pretty, and random bits from base for nhc98
     bbea32c nhc98 version of instance Show (a->b) copied from Prelude
     dbe5cf7 remove locale as well
     995b9ff remove System.Cmd and System.Time too
     9515bd4 delete unused constants
     d7ffcfa DIRS now lives in package Makefile, not script/pkgdirlist
     1ab69f6 add module Data.Fixed to nhc98 build
     c193735 Add System.Timeout to base.cabal Filtered out for non-GHC by Setup.hs.
     63d51d7 add a dummy implementation of System.Timeout.timeout for nhc98
     0801066 add nhc98-options: field to .cabal file
     c72577d Control.Concurrent documentation fix
     1be55ff Add Data instance for PackedString; patch from greenrd in trac #1263
     1735728 Add Data and Typeable instances; patch from greenrd in trac #1263'
     262f013 Data.PackedString: Data.Generics is GHC-only
     4423efb --configure-option and --ghc-option are now provided by Cabal
     5fedced Remove unsafeCoerce-importing kludgery in favor of Unsafe.Coerce
     ed5ac20 --configure-option and --ghc-option are now provided by Cabal
     3b1e6cb fix description of CWStringLen
     5b773cb FIX hGetBuf001: cut-and-pasto in readRawBufferNoBlock
     c9c7e2a update prototype following inputReady->fdReady change
     0fbc000 install dependent include files and Typeable.h
     67106d5 Typo (consUtils.hs -> consUtils.h)
     b16277b Hugs now gets MonadFix(mfix) from its prelude
     e1340db makefileHook needs to generate PrimopWrappers.hs too
     4ddc6d9 Change C-style comments to Haskell-style. These two headers are only ever used for pre-processing Haskell code, and are never seen by any C tools except cpp.  Using the Haskell comment convention means that cpphs no longer needs to be given the --strip option to remove C comments from open code.  This is a Good Thing, because all of /* */ and // are valid Haskell operator names, and there is no compelling reason to forbid using them in files which also happen to have C-preprocessor directives.
     aa44db4 Use a combination of Haskell/C comments to ensure robustness. e.g. -- // ensures that _no_ preprocessor will try to tokenise the rest of the line.
     2a9932d Use "--  //" (2 spaces) rather than "-- //" (1) to avoid tripping haddock up Are we nearly there yet?
     4736c6e Speed up number printing and remove the need for Array by using the standard 'intToDigit' routine
     dfb3810 Modernize printf.
     3deaeb1 fix bug in writes to blocking FDs in the non-threaded RTS
     9143446 Word is a type synonym in nhc98 - so class instance not permitted.
     c9fc2b4 change nhc98 option from -prelude to --prelude
     8b6d67e FIX #1131 (newArray_ allocates an array full of garbage) Now newArray_ returns a deterministic result in the ST monad, and behaves as before in other contexts.  The current newArray_ is renamed to unsafeNewArray_; the MArray class therefore has one more method than before.
     d56c747 Remove include-dirs ../../includes and ../../rts We get these by virtue of depending on the rts package.
     2f54eec Add a more efficient Data.List.foldl' for GHC (from GHC's utils/Util.lhs)
     f8099c8 no need to hide Maybe
     105cdfb Define stripPrefix; fixes trac #1464
     78e6aa0 Implement GHC.Environment.getFullArgs This returns all the arguments, including those normally eaten by the RTS (+RTS ... -RTS). This is mainly for ghc-inplace, where we need to pass /all/ the arguments on to the real ghc. e.g. ioref001(ghci) was failing because the +RTS -K32m -RTS wasn't getting passed on.
     74859e7 in hClose, free the handle buffer by replacing it with an empty one This helps reduce the memory requirements for a closed but unfinalised Handle.
     d6b1060 fix Data.Map.updateAt See http://haskell.org/pipermail/libraries/2007-July/007785.html for a piece of code triggering the bug. updateAt threw away parts of the tree making up the map.
     9e71989 Add a test for Data.Map, for a bug on the libraries@ list
     9cb0c9e Rename openFd to fdToHandle' The name collision with System.Posix.IO.openFd made my brain hurt.
     fbe2f45 Move open(Binary)TempFile to System.IO
     4c73274 Tweak temporary file filename chooser
     39b65b1 open(Binary)TempFile is now portable
     36d4917 Hugs only: avoid dependency cycle
     f0320cc fix Hugs implementation of openTempFile
     3001ce0 Handle buffers should be allocated with newPinnedByteArray# always Not just on Windows.  This change is required because we now use safe foreign calls for I/O on blocking file descriptors with the threaded RTS.  Exposed by concio001.thr on MacOS X: MacOS apparently uses smaller buffers by default, so they weren't being allocated as large objects.
     5637658 Use cabal configurations rather than Setup hacks
     c3eb383 Correct Windows OS name in cabal configuration
     6259d85 Fix fdToHandle on Windows The old setmode code was throwing an exception, and I'm not sure it is meant to do what we need anyway. For now we assume that all FDs are both readable and writable.
     645196f Generalise the type of synthesize, as suggested by Trac #1571
     be395b7 Temporarily fix breakage for nhc98. A recent patch to System.IO introduced a cyclic dependency on Foreign.C.Error, and also inadvertently dragged along System.Posix.Internals which has non-H'98 layout, causing many build problems.  The solution for now is to #ifndef __NHC__ all of the recent the openTempFile additions, and mark them non-portable once again.  (I also took the opportunity to note a number of other non-portable functions in their Haddock comments.)
     63544e5 fix Haddock markup
     77d32a0 Clarify the swapMVar haddock doc
     0fd4bea Move throwErrnoPath* functions from unix:System.Posix.Error
     0e5ff9a Add simple haddock docs for throwErrnoPath* functions
     0b9eebb Export throwErrnoPath* functions
     78c8f42 bytestring is now in its own package
     d5b0bbb Remove System.Posix.Signals (moving to unix)
     c769383 Remove a number of modules now in a "containers" package
     95a6179 Data.Array* and Data.PackedString have now moved to their own packages
     bf42b1a We now depend on the packedstring and containers packages
     4f92628 Move the datamap001 (our only test) to the containers package
     46341a1 Remove bits left over from the old build system
     675a579 Move Data.{Foldable,Traversable} back to base The Array instances are now in Data.Array.
     b9bb2fc Don't try to build modules no longer living in base.
     a93b81c install Typeable.h for use by other packages
     ebd05cd Correct the swapMVar haddock doc
     1df1a9b Don't import Distribution.Setup in Setup.hs as we no longer need it
     daf52ae include Win32 extra-libraries for non-GHC's too
     e3d4781 remove now-unused SIG constants
     364214f fpstring.h has moved to bytestring
     c9a5285 test impl(ghc) instead of IsGHC
     78d4976 Fix hashInt As pointed out in http://www.haskell.org/pipermail/glasgow-haskell-bugs/2007-August/009545.html the old behaviour was Prelude Data.HashTable> map hashInt [0..10] [0,-1,-1,-2,-2,-2,-3,-3,-4,-4,-4]
     4fa06d9 FIX #1282: 64-bit unchecked shifts are not exported from base I've exported these functions from GHC.Exts.  They are still implemented using the FFI underneath, though.
     8a55cef delete configure droppings in setup clean
     03ddae3 Make arrays safer (e.g. trac #1046)
     6a9a2bf Added dummy license file Please fill in the correct license, no clue what it should be. Furthermore, a few licenses resulting from the "Big Base Split" (tm) should be reviewed, I guess.
     113cd39 Put the correct license text in
     b2f00be Remove redundant include/Makefile
     cf6952e Better hash functions for Data.HashTable, from Jan-Willem Maessen
     4af946a Fix building HashTable: Use ord rather than fromEnum
     e5954dc Fix haddock docs in Hashtable
     11e8e5c make hWaitForInput/hReady not fail with "invalid argument" on Windows See #1198.  This doesn't fully fix it, because hReady still always returns False on file handles.  I'm not really sure how to fix that.
     53a7a8a Suppress some warnings
     ff8b9d8 Remove some incorrect rules; fixes #1658: CSE [of Doubles] changes semantics
     786638a FIX #1689 (openTempFile returns wrong filename)
     043f2f2 Add a boring file
     adf2a96 Add a boring file
     502c181 Add more entries to boring file
     e70b3ee put extra-tmp-files field in the right place
     1fc47ca typo
     efdee48 expose the value of +RTS -N as GHC.Conc.numCapabilities (see #1733)
     a8ee502 clean up duplicate code
     ab8f5bb FIX #1652: openTempFile should accept an empty string for the directory
     b788063 base in 6.8 and head branch should be version 3.0
     c17eadb Clean up .cabal file a bit specify build-type and cabal-version >= 1.2 put extra-tmp-files in the right place use os(windows) rather than os(mingw32)
     9c374bf FIX #1258: document that openTempFile is secure(ish) Also change the mode from 0666 to 0600, which seems like a more sensible value and matches what C's mkstemp() does.
     90af93e Fix doc building with Haddock 0.9 I was using a recent build here, which is more tolerant.
     65fe3dc new Control.Compositor module
     66ec326 Bump version number
     bf2a204 Copy description for the Cabal file from prologue.txt
     6758b39 Specify build-type: Simple
     da44e83 new Control.Category, ghc ticket #1773
     f9bc7b8 FIX BUILD: Haddock 1.x fails to parse (Prelude..)
     8898b4b Fix performance regression: re-instate -funbox-strict-fields Yikes!  While investigating the increase in code size with GHC 6.8 relative to 6.6, I noticed that in the transition to Cabal for the libraries we lost -funbox-strict-fields, which is more or less depended on by the IO library for performance.  I'm astonished that we didn't notice this earlier!
     a4b128f fix nhc98 build: need a qualified Prelude import
     6270bf0 add Control.Category to the nhc98 build
     27fa0a4 Add module of special magic GHC desugaring helper functions Currently containing only one such helper: (>>>) for arrow desugaring
     59b4958 Filter out GHC.Prim also for the Haddock step Please merge to the GHC 6.8.2 branch
     2dc3c04 Fix ` characters in elem's haddock docs
     df97527 fix comment
     530c5c7 Only overwrite GHC/Prim.hs and GHC/Primopwrappers.hs if they change This avoids make doing unnecessary work after 'setup makefile'.
     5f59f65 Move file locking into the RTS, fixing #629, #1109 File locking (of the Haskell 98 variety) was previously done using a static table with linear search, which had two problems: the array had a fixed size and was sometimes too small (#1109), and performance of lockFile/unlockFile was suboptimal due to the linear search. Also the algorithm failed to count readers as required by Haskell 98 (#629).
     460f368 Fix compilation with GHC 6.2.x
     740bbc4 oops, we forgot to export traceShow
     5a223d3 remove lockFile.h from install-includes
     7bac83d FIX #1753 hClose should close the Handle and unlock the file even if calling close() fails for some reason.
     ea2fdf0 FIX BUILD: maybeUpdateFile: ignore failures when removing the target
     94dbed6 Escape some special characters in haddock docs
     bc34b5f Don't try to make haddock links to the mtl package as we don't depend on it
     49cc9d9 Fix some links in haddock docs
     333440b Fix some URLs
     69fc4b6 note about how to convert CTime (aka EpochTime) to UTCTime
     b3febff restore fdToHandle' to avoid breaking clients (#1109)
     c6f9dba protect against concurrent access to the signal handlers (#1922)
     1030068 protect console handler against concurrent access (#1922)
     34c69fd FIX #1621: bug in Windows code for getCPUTime We were reading the components of FILETIME as CLong, when they should be unsigned.  Word32 seems to be the correct type here.
     c8a5524 Add singletonP to GHC.PArr
     a8897e2 doc only: use realToFrac instead of fromRational.toRational
     0002e65 docs: describe the changes to forkIO, and document forkOnIO
     5b4734c Implement 'openTempFile' for nhc98.
     fd205ff Simplify the GHC.Prim hack in base.cabal/Setup.hs
     09f867c Add GHC.Prim to exposedModules in the Haddock 0.x hook
     757c909 Add GHC.Prim to exposedModules in the Haddock 0.x hook
     774beba Add groupWith, sortWith, the, to support generalised list comprehensions
     045a52b Tuple tycons have parens around their names
     ca6fcaa Remove redundant imports of GHC.Err
     8fb82f4 Fix comment on GHC.Ptr.minusPtr
     485b60f Data.List.sort: force elements from start to end. this prevents a stack overflow on  sort (take 10^6 [1..])
     e37fa69 haddock attributes for haddock-2.0
     33a93d5 Export topHandler, topHandlerFastExit from GHC.TopHandler We now use one of these in ghc when running with ghc -e
     e0fac59 Windows: large file support for hFileSize and hSeek (#1771)
     087ccec add comment about lack of _chsize_s()
     55b76a3 The default uncaught exception handler was adding an extra \n
     7d4917a FIX #1936: hGetBufNonBlocking was blocking on stdin/stdout/stderr
     7068e4c Generalise type of forever :: (Monad m) => m a -> m b
     f3f3903 deforestation rules for enumFromThenTo; based on a patch from Robin Houston
     65a16b7 FIX dynamic001 dynamic002: isTupleTyCon had rotted In the patch "Tuple tycons have parens around their names", the names of the tuple tycons were changed to include parens, but isTupleTyCon was not updated to match, which made tuple types show as "(,) a b" rather than "(a,b)"
     7382021 Whitespace only
     7d1f993 whitespace only
     b667aa1 untabify only
     499cb4f untabify
     0077a5a FIX dynamic001, dynamic002: further fixes to tuple printing
     18245aa untabify
     ae37bad untabify
     9800d3d untabify
     32af111 Add exitSuccess :: IO a. For symmetry with exitFailure
     f724cc9 untabify
     6cab05d untabify
     e117955 untabify
     fc013dc untabify
     01c9ee9 untabify
     43f65bc mention explicitly that hIsEOF may block
     58572f4 untabify
     9cd506f untabify
     6673102 Added Down class and improved groupWith fusion
     4d73790 export MVar, TVar, and STM non-abstractly As requested by Sterling Clover on ghc-users
     131f6db untabify
     75d9ecb untabify
     dd53a79 untabify
     64f46cc untabify
     ed725c0 untabify
     0f41ab5 untabify
     288d724 untabify
     22ab7b5 untabify
     1b8dcfa untabify
     95d429d untabify
     5492860 untabify
     f2ec55f untabify
     8210c67 untabify
     e05218e untabify
     4c61e6f untabify
     c0e1b8dd untabify
     f4275e0 untabify
     93d0932 untabify
     0b0b3ac untabify
     b7703a4 untabify
     475e70a untabify
     d19e849 untabify
     729ebf1 untabify
     450f869 untabify
     0363aee untabify
     1a8a30e System.Console.GetOpt mistakenly rejects options as ambiguous. From "Eelis van der Weegen" <haskell-libs at contacts.eelis.net>. Testcase:
     2a4ab8c Add partitionEithers, lefts, and rights. Patch from Russell O'Connor, trac proposal #974.
     e24f86f Replace (^) with a faster variant (from trac #1687)
     13e57e9 An even better definition for (^) (trac #1687)
     689ac05 Remove a gratuitous pattern type sig
     6de7e26 List extensions used rather than using the -fglasgow-exts hammer
     175e045 Move Integer out into its own package We now depend on the new integer package. We also depend on a new ghc-prim package, which has GHC.Prim, GHC.PrimopWrappers, and new modules GHC.Bool and GHC.Generics, containing Bool and Unit/Inl/Inr respectively.
     b7bd165 base now uses build-type: Configure
     c6b4079 Remove GHC.PrimopWrappers from base's exposed modules list
     3f64040 Update .darcs-boring GHC/Prim.hs, GHC/PrimopWrappers.hs are no longer generated in this package
     3aa968c Move Word64/Int64/Word32/Int32 primitives into ghc-prim
     feb58bb give an absolute path to 'harch'
     c211150 fix types for __hscore_st_dev() and __hscore_st_ino()
     20faa40 Ordering has now moved to ghc-prim
     45ba9b2 Turn off the gcd/lcm optimisations for Integer for now This makes it easier to experiment with other implementations
     0ac84bf In docs for unsafeCoerce, point to unsafeCoerce#
     2d817e6 Spelling only
     a83c996 Improve docs for unsafeCoerce Make it clear that compilers differ.  Point to GHC docs in GHC.Base, and add a short description of nhc98's representation-safe conversions.
     75a49cc don't set O_NONBLOCK on FDs passed to fdToHandle
     7ae99bb Added emptyP def
     ad5ffc1 record libraries at haskell.org as maintainer
     6e10abd Just (-0/1) is now printed as Just (-0.0), not Just -0.0; trac #2036
     50058d5 Add RULES for realToFrac from Int.
     9c6794a Add realToFrac RULE comments from patch message into the source code
     d0f3db8 Reexport (>>>) and (<<<) from Control.Arrow. Preserves API compatibility
     0295b0c emptyP def to gHC.PArr
     d609d67 Moved def. of emptyP
     a5b73db Inline Data.Bits.rotate at Int, enables rotate to be constant folded
     e2294ec Add comments about why rotate has an INLINE
     e6a38b3 Avoid calling varargs functions using the FFI Calling varargs functions is explicitly deprecated according to the FFI specification.  It used to work, just about, but it broke with the recent changes to the via-C backend to not use header files.
     7d24980 Add a wrapper for mkstemp This is for #2038: macros are used in the Linux .h includes to redirect to a 64-bit version when large file support is enabled.
     f2e54f5 Add wrappers for [gs]etrlimit This is for #2038: macros are used in the Linux .h includes to redirect to a 64-bit version when large file support is enabled.
     0706579 Fix the build on Windows
     516e3c1 note about evaluation affecting StableNames
     20fb7a8 Tweak the definition of (^) again This fixes trac #2306 (do the minimum number of (*)s), and also means that we don't use the value of (1 :: a) which causes problems if the Num a definition isn't complete.
     b2cc70e Add 'subsequences' and 'permutations' to Data.List
     b1a0c72 'subsequences' is now more lazy and also faster
     02c91df 'permutations' is now more lazy and also faster
     164d14e Support code for quasi-quotation feature
     90726a0 Replace TH.Quasi by TH.Quote
     11a293d Initial commit; code copied from the base package
     2b1bd37 Initial commit of integer(-gmp) package; code copied from base
     74e5de4 Fix parsing precedence problem
     29c5f2e Add .darcs-boring file
     89868b8 Define integerToWord64, word64ToInteger, integerToInt64, int64ToInteger if on a 32-bit machine
     db7460e Add GHC.IntWord32 and GHC.IntWord64 (from base)
     18f5bf9 We can now use Ordering as it's in ghc-prim
     ae2efae Wibble && definition
     5f6b44f Add GHC.Ordering
     0f49db3 Add support for Word primitives 32##
     ec042d3 Initial commit
     2f99971 Move the register-inplace special-case stuff into the ghc-prim package
     1698be3 Avoid the need for infinite Integers when doing bitwise operations
     eebd9c7 Make the Integer type components strict
     a84ba0f Sprinkle on some strictness annotations
     e0bcb4a Fix ubconfc The current code doesn't seem to be what was used to generate WCsubst.c, so I'm not sure if it never worked, or if my tools work slightly differently to those of the previous user.
     e1c1482 Update WCsubst.c for Unicode 5.1.0, and add a README.Unicode README.Unicode describes how to do updates in the future.
     24afeb6 Fix conversions between Float/Double and simple-integer
     6e0d1f0 delete __hscore_{mkstemp,getrlimit,setrlimit} (moved to unix)
     6b02395 Avoid using deprecated flags
     dfaf18f Avoid using deprecated flags
     791ad9d Avoid using deprecated flags
     ee77cc8 Remove -fglasgow-exts from pragmas and comments
     c2986e0 List exact extensions used rather than using -fglasgow-exts
     2533973 We only need -fno-warn-deprecations, not -w
     b2357b5 Make rename of a SigP fail properly, rather than just being an unhandled case
     a1a84a2 Make the StringConstr [] case of dataToQa fail rather than be an unhandled case
     71da6cd Make the package -Wall clean
     0eacb96 Fix #2363: getChar cannot be interrupted with -threaded Now in -threaded mode, instead of just making a blocking call to read(), we call select() first to make sure the read() won't block, and if it would block, then we use threadWaitRead.
     d27b23c Make the macros in Typeable.h add type signatures
     6b5411e Remove code for older GHC versions
     746ec49 Add GHC.Exts.maxTupleSize :: Int, the size of the largest tuple supported
     bfbfaf4 () has moved to ghc-prim:GHC.Unit, and the Eq and Ord instances to Data.Tuple
     d17038a FIX part of #2301
     1b0906e FIX #1198: hWaitForInput on Windows Now we do the appropriate magic in fdReady() to detect when there is real input available, as opposed to uninteresting console events.
     9f11776 Make threadWaitRead/threadWaitWrite partially useable on Windows
     2a0267a check CONST_SIGINT
     ab5a660 FIX BUILD (on Windows)
     40b8364 Add Control.Exception.blocked :: IO Bool Tells you whether async exceptions are currently blocked or not.
     25614e1 forkOS: start the new thread in blocked mode iff the parent was (#1048) This matches the behaviour of forkIO
     31c8495 Add threadStatus :: ThreadId -> IO ThreadStatus
     23e579e Fix haddocking with older haddocks
     f185bc5 fix dummy async implementations for non-GHC
     59af38f Extend nhc98's Exception type to resemble ghc's more closely
     c396535 Add instance Show Control.Exception.Exception for nhc98.
     f3b135c FIX #2376: inline shiftR Duplicating the default definition for shiftR doesn't seem quite right to me, but it gets the right results when compiling the example program, and I couldn't find a better way to do it.
     282b3a9 add some big warnings to the docs for unsafeIOToSTM (#2401)
     a848c50 add comment
     80bc85d Use extensible exceptions at the lowest level Everything above is largely unchanged; just the type of catch and throw.
     6d87a36 Define nonTermination for the RTS to use We'll probably need to do the same for some other exceptions too
     6a58c76 Fix warnings in ghc-prim modules
     99ad336 Add GHC.Unit for the definition of the () type
     4b835ac Use simpleUserHooks rather than defaultUserHooks in Setup.hs Cabal says that defaultUserHooks is deprecated.
     0d62a23 Add a .darcs-boring file
     f2b1e35 Update .darcs-boring
     f64ea4a Follow Cabal changes
     43e1c29 Follow flag name change
     22c37b9 Rejig the extensible exceptions so there is less circular importing
     20c837f Start to actually use extensible exceptions
     a322849 Re-add blocked; it got lost in the extensible exceptions patches
     c218e2a Fix whitespace The space after "\begin{code}" was confusing haddock
     573beb4 Add onException
     5a5cb88 Don't use "deriving Typeable" (for portability reasons)
     de13396 applied patches to make enumFrom and friends strict in arguments as per the Report; closes ticket #1997
     514e5b2 Put in some parens to clarify how things parse
     4d2b1ea Make numericEnumFrom more efficient
     b607bdb Comment wibble
     87f7be5 TopHandler now uses the new extensible exceptions
     3af5a2f Export assertError from Control.Exception to make GHC happy It's a wired-in name in GHC. We should possibly move it to another module.
     98e13f5 Don't import Control.Concurrent.MVar in GHC.TopHandler
     9bf4914 Reshuffle GHC.Conc/GHC.TopHandler a bit to remove a recursive import
     0a713f6 Remove the now-unused GHC/TopHandler.lhs-boot
     9753479 Rejig some code so Control.Exception and GHC.Conc don't need recursive imports
     f33f450 Make some more imports non-recursive
     e4bbe51 Remove the now-unused GHC/Conc.lhs-boot
     81b785a Get rid of some duplicate imports
     afab0ec Remove unused imports in Control.Exception
     3c08fdf Remove unused imports
     f2bd44a Remove an unused import
     ed6aac2 Remove the dangerous Exception functions Removed: catchAny, handleAny, ignoreExceptions These make it easy to eat /any/ exception, which is rarely what you want. Normally you either want to: * only catch exceptions in a certain part of the hierarchy, e.g.   "file not found", in which case you should only catch exceptions   of the appropriate type, or * you want to do some cleanup when an exception happens, and then rethrow   the exception, in which case you should use onException, or one of the   bracketing functions.
     0525d37 Generalise the type of onException The type of the thing to do on an exception is now     IO b rather than     IO () which better matches functions like bracket.
     e7e051e Use onException rather than catchAny
     8eb40cf Move assertError into GHC.IOBase
     0912bae Remove the only import of GHC.Exts
     6443137 Remove the duplicate definition of throwTo in Control.Exception It now imports GHC.Conc, so it is no longer necessary
     8454033 Windows fixes
     860c51c Change some imports and derive Show (Either a b) rather than writing it by hand in GHC.Show
     faf76d4 nhc98 needs the Prelude for this module
     d3bafd0 Fix nhc98 code variations to use the extensible exception API. There is still only one real exception type in nhc98, so it is not truly extensible.  But this is enough to get the base package building again.
     f2fff63 zipWithM_ comes from Control.Monad
     f0e95df poke and peek come from Foreign.Storable
     c8ab434 make ExitCode an instance of Exception for nhc98
     f2198b5 The tuple datatype definitions have moved to ghc-prim
     4cf0bb2 Tuple datatypes are now in GHC.Tuple (they were in base:Data.Tuple before)
     3ce8614 Remove some unnecessary Data.Tuple imports
     1ea665e Generalise the type of mapException; pointed out by Isaac Dupree
     7e87e49 Control.Exception doesn't need to export assertError
     52a190c Hide standalone deriving clauses from haddock
     d4ece12 Remove GHC.Dotnet
     350c446 Follow tuple datatype movements
     4875183 Add a missing case to Show AsyncException
     12a50ca Fix warnings
     63c69e8 The [] definition has moved to ghc-prim
     6588e16 Remove an unnecessary import
     a9bc61b Move the Char datatype into ghc-prim
     ad9140e Move some internals around to simplify the import graph a bit
     c99dd50 Remove the DynIOError constructor of IOErrorType As far as I can see it is never used or exported
     13fb5c0 Tweak an import
     bc3938e Move some bits around to stop Data.Either being in the base import knot
     b33380b Swap imports around to get GHC.ForeignPtr out of the base knot
     c580fa7 Remove unused conditional import
     bc7c503 Fix a couple of imports
     2937609 Put some explicit import lists in Data.Typeable
     a146ed9 Move Int, Float and Double into ghc-prim:GHC.Types
     d7141f7 Remove an unnecessary import
     e9ec30f Remove more redundant GHC.Float imports
     d0ea616 Remove unnecessary Data/Dynamic.hs-boot
     8fe9ca2 Import wibbles
     b296beb Use the proper CInt type in GHC.Unicode
     d2f58eb Eq and Ord have moved into GHC.Classes
     8ccf3c9 fix imports for non-GHC
     3b66a65 threadDelay and friends are GHC-only
     6579c41 remove kludges, now that Control.Exception is imported
     ec16083 split most of Control.Exception into new Control.Exception.Base
     4474018 Hugs only: don't import exception types -- their instances are now in Control.Exception.Base
     879807f bump to version 4.0
     f072514 Move the [] definition from base into ghc-prim:GHC.Types
     95f9739 Move the Char datatype into ghc-prim
     44560f9 Add some GHC.Generics imports so we can find Inl etc where we need to
     7faadaf Move Int, Float and Double into ghc-prim:GHC.Types
     f14420b add Control.Exception.Base to nhc98 build
     3ae7e85 non-GHC: hide Prelude.catch
     591b39f Hugs only: fix imports
     ebce15a use dummy implementation of timeout for all non-GHCs
     569e88b export Control.Exception.Base
     f47de96 use the Haskell 98 module Control.Exception.Base in the Concurrent modules
     2319319 use New.catch instead of catchException in OldException
     ea52fdb Must import ExitCode for its instance to be re-exported. The Cabal library depends on "instance Exception ExitCode", and expects to import it from Control.Exception, not Control.Exception.Base.
     31215fe No reason for Handler and catches to exclude nhc98.
     5ebd066 remove returns from void functions
     b8a8325 simplify definition of Prelude.catch
     9b6b729 add Traversable generalizations of mapAccumL and mapAccumR (#2461)
     8d771a4 Control.OldException: Map exceptions to old exceptions and back properly.   * Control.OldException: Map exceptions to old exceptions and back properly.
     5691448 Eliminate orphan rules and instances in the array package
     4975be7 Fix oversight in Control.OldException The NonTermination constructor slipped through in the Exception instance.
     9a7b324 Fix hReady (trac #1063) We now throw an EOF exception when appropriate
     a54da06 nhc only: expose Foldable and Traversable instances of Array
     a4088f2 Rewrite the documentation for forkOS again Try to make it clearer that forkOS is only necessary when calling foreing libraries that use thread-local state, and it has nothing to do with scheduling behaviour between Haskell threads.  I also added something about the performance impact of forkOS, and mentioned that the main thread is a bound thread.
     f1f0f17 remove __hscore_renameFile, it is no longer uesd System.Directory implements renameFile using unix/Win32 now.
     e2a79c3 remove some functions that aren't used in base
     48612e5 Ignore some orphan warnings
     cff5e3c Fix some more warnings
     8c1cb53 Fix warnings in Data.Generics.*
     f9b2d39 Fix more warnings
     f050ec4 Suppress a couple of warnings in GHC.PArr The fix isn't immediately obvious to me
     18328c7 Fix more warnings
     094430f Provide blockedOnDeadMVar, blockedIndefinitely for the RTS
     877f6ac Suppress some warnings that are hard to fix because of ifdefs
     3968fbf Fix Windows-only warnings in GHC.Conc
     7166d89 Fix Windows-only warnings
     75097ac Remove ST stuff that is now in the new st package
     1943bef Split getopt off into its own package
     8beae42 Split off the concurrent hierarchy (concurrent, unique, timeout)
     39711a3 Windows-only fixes for moving concurrent out of base
     dccaa13 Fix warnings in PrelIOUtils.c
     70b971f add extra-source-files field
     67dfc3e Split syb off into its own package I've also moved the Data (Complex a) instance into it, and made it portable rather than GHC-only in the process.
     6085e27 getopt is no longer part of base
     0af78f5 System.Timeout is no longer part of base
     0ad9def #2528: reverse the order of args to (==) in nubBy to match nub This only makes a difference when the (==) definition is not reflexive, but strictly speaking it does violate the report definition of nubBy, so we should fix it.
     83092ca docs: mention that killThread on a completed thread is a no-op
     306b3f8 non-GHC: add Typeable instance for ForeignPtr
     ab3e00c non-GHC: leave out Belch functions
     5994604 avoid relying on the implementation of SomeException
     a0bd245 add include/CTypes.h to extra-source-files
     a7b8c05 Don't look for actual OldException.Exception exceptions We don't actually throw them (we throw the new Exception equivalents instead), and looking for them was causing an infinite loop
     e8a0e61 make Typeable instances for larger tuples available to non-GHC
     8d4f8b8 remove 'pure' method from Arrow class (#2517)
     96c6210 Remerge concurrent,unique,timeout,st,getopt into base
     672a5a9 Add missing files
     2e383b7 Don't make S_ISSOCK use conditional We were conditionally defining the C wrapper, but unconditionally using it. So if it didn't exist then things would have broken anyway.
     67a0e66 Unbreak the GHC build with older versions of gcc Patch from kili at outback.escape.de, who says:   Stg.h must be included before HsBase.h, because the latter contains   function definitions causing older versions of gcc (3.3.5 in my   case) to bail out with "error: global register variable follows a   function definition" on Regs.h, which is included by Stg.h.
     51bd513 Don't define __hscore_s_issock on Windows
     ee17e68 Generic functions that take integral arguments should work the same way as their prelude counterparts
     b100e76 Add a dep on syb
     ba950c6 Help haddock find ghc-prim's types by explicitly exporting them
     f338f43 In Setup, tell haddock about GHC.Prim
     73cec9f We should be including Rts.h here, not Stg.h Stg.h is for .hc files only, and it sets up various global register variables.
     9ac2a78 Fix bugs in Text.Printf (#1548)
     e3a8052 Fix compilation of Setup.hs with GHC 6.9
     4e430ea In nhc98, Word is a type synonym, so class instance is not possible.
     c70bcab Pad version number to 4.0.0.0
     aafb9bb Pad version number to 0.1.0.0
     bcd82a7 Pad version number to 0.1.0.0
     0d05991 Bump version number to 2.3.0.0
     e921297 Restore the Haskell 98 behaviour of Show Ratio (#1920)
     b130868 Move the Integer type definition into GHC.Integer.Internals This means that we can export the constructors, but still keep the GHC.Integer interface generic.
     4ae7c07 Don't use ^(2::Int) in Data.Complex.magnitude; partially fixes trac #2450 We still might want to make a RULE for this, so the bug is not fully fixed.
     d2f13aa update Data.Generics import
     e2c964b restore Complex's derived Data instance
     73c5dd0 add new Data.Data module
     815cbac added new module Data.Data
     86e089b Add build-depends: rts for correct dynamic library linking
     4d07ded eliminate dependency on syb
     df6626f non-GHC: delete unnecessary imports
     ba37236 removed (->) instance from Data.Data
     3a6ee49 add readTVarIO :: TVar a -> IO a
     1040756 changing haddock links
     de659cd add link to the new syb wiki
     f2b608c Import n_capabilities via import symbol when linking dynamically
     2f27767 docs about how exceptions are handled by forkIO'd threads (#2651)
     c42736c Fix Trac #2700: pretty-printing of types
     e38db62 Make NameFlavour have a full Data instance so annotations can deserialize it
     1b1a4ac Add AnnotationWrapper type so GHC can capture annotation dictionaries during compilation
     51ac30e FIX #2722: update RULES for the Category/Arrow split
     80ce119 add GHC.Conc.runSparks (required by GHC patch "Run sparks in batches")
     877f16b updating Haddock documentation
     3a4810c Fix the definitions of trueName and falseName
     8fc45a4 Change an "undefined" into a more informative error; trac #2782
     134633c re-instate the gcd/Integer and lcm/Integer RULES Fixes a performance regression between 6.8.3 and 6.10.1
     33ec542 Add more description of what "round" does, from the H98 report
     c05b2a3 Fix performance regression in quotRemInteger/divModInteger This fixes most of the performance regression in these functions between 6.8.3 and 6.10.1, it was due to a slight difference in the strictness between the old and new versions (see comments for details).  There's still a few percent loss in performance in the div test in nofib/spectral/integer that I haven't tracked down as yet.
     c09e4ae Fix typo (or out of date reference) in throwTo documentation.
     5591c2b Fix #2750: change Prelude.(,) to Prelude.(,,)
     64d5fe1 Update INLINE pragmas for new INLINE story
     dc746ab Fix #2760: deprecate mkNorepType, add mkNoRepType
     06e60f3 FIX #1364: added support for C finalizers that run as soon as the value is no longer reachable.
     5a70e93 Rollback INLINE patches
     6279bfa warning fix: don't use -XPatternSignatures in GHC >= 6.10
     64bafed extra dependencies for the new build system
     f54b22b More compact error messages for record selectors
     a1ec510 Fix typo (reqwests -> requests); trac #2908, spotted by bancroft
     8f32298 Add errno to the IOError type
     2bd42c4 Fix the build on Windows
     c66815c Fix build when we have HTYPE_TCFLAG_T
     1f1c03c #2699: exit silently for EPIPE on stdout
     04770e8 Add NoImplicitPrelude to the extensions used when building with GHC
     4808212 Move some catch definitions around to avoid an import loop As suggested by simonpj in trac #2822.
     8e2a7b7 make the Monoid docs more self-contained
     d49ea2e Unbreak an import cycle caused by moving 'catch' definitions around. The new cycle was introduced for nhc98 only.
     ed1a8c2 add Monoid laws
     09cc855 Make Data.Typeable imports and exports more explicit
     7dd8652 avoid `mappend` in monoid laws, because it doesn't work with haddock
     8224df6 Correct SYB's representation of Char
     f63fe36 optionally include GHC.Prim in exposed-modules (for the new GHC build system)
     4940d17 Fix #2759: add mkRealConstr and mkIntegralConstr, deprecate mkFloatConstr and mkIntConstr
     f4fb75b Proposal #2875: remove StringRep and StringConstr
     3f81b2d #2875: Correct SYB's representation of Char
     e21b1cc Add "bug-reports" and "source-repository" info to the Cabal file
     99c71c3 Add "bug-reports" and "source-repository" info to the Cabal file
     8cf662a Add "bug-reports" and "source-repository" info to the Cabal file
     fc6ae58 Add "bug-reports" and "source-repository" info to the Cabal file Also switched to the modern Cabal file format
     e3b05c3 Require Cabal version >= 1.6
     c9dd0a0 get unsafePerformIO from a documented location
     7850ab9 Require Cabal version >= 1.6
     e910522 Require Cabal version >= 1.6
     e941801 Require Cabal version >= 1.6
     d4a67c3 Update the Exception docs
     0be55bd OldException catches unknown exceptions as DynException It's important that we put all exceptions into the old Exception type somehow, or throwing a new exception wouldn't cause the cleanup code for bracket, finally etc to happen.
     ea0dd25 Fix #2903: ensure CWStringLen contains the length of the array rather than the String
     261f56f Make System.Posix.Internals buildable by nhc98.
     2fc5d82 implement System.IO.Error more fully for nhc98
     4f1b447 add some rules of thumb for catching exceptions, restructure the docs a bit
     6ae4c49 Fix #2971: we had lost the non-blocking flag on Handles created by openFile This code is a mess, fortunately the new IO library cleans it up.
     1d266a9 Rewrite of signal-handling (base patch; see also ghc and unix patches)
     3c642ac Set the IO manager pipe descriptors to FD_CLOEXEC This pipe is an internal implementation detail, we don't really want it to be exposed.
     27df316 ifdef out the syncIOManager export on Windows; fixes the build
     eac3bc6 Fix warnings: put imports inside ifdefs
     19b8cab ifdef out the definition of setCloseOnExec on Windows; fixes the build
     c15e830 #2759: Amend previous patch
     e86bc10 Rules to make genericLength strict for Int/Integer lengths, see #2962
     68cf5b0 Don't hide GHC.Integer from haddock; fixes trac #2839 This works around haddock not exporting docs across package boundaries
     a1adf4c FIX #2189: re-enabled cooked mode for Console-connected Handles on Windows Patch from Sigbjorn Finne <sof at galois.com>
     258be3d add final newline; fix build (on Windows?)
     c751ba5 Add config.guess, config.sub and install-sh
     7fc5bad Partial fix for #2917
     97ca06f avoid a space leak building up in the "prodding" IORef (part of #2992)
     40ad6ff FIX #2189: re-enabled cooked mode for Console-connected Handles on Windows Patch from Sigbjorn Finne <sof at galois.com>
     5b413a6 Don't set -Wall -Werror in the .cabal file
     db1fe7e Fix layout to comply with H'98. Also, configure correctly for nhc98, to avoid win32 code.
     4715e3d ghcconfig.h is __GLASGOW_HASKELL__ only
     2d75b36 Added type family declarations forms - Adds type family and instance declarations, both on the top level and   as associated types - No equality constraints yet
     36bf9a5 Adding equality constraints - This patch adds equality constraints - This requires an incompatible change of the type TH.Cxt - hence:
     66d3f4c Add an import needed in the new build system
     05ee08c Remove some redundant fromInteger's
     ce8f519 Added INLINE and SPECIALISE pragmas as declaration forms
     4b84d6d Template Haskell: kind annotations - Kind annotations at variables in type declarations - Kind signatures in types
     5429c33 Added bang patterns
     8962241 Add another Data.List.intersect example from Christian Maeder
     cebb0b8 Avoid unnecessarily using Integer when decoding Floats
     76fc3e3 be sure to install Nhc98BaseConfig.h
     4ad4fcc Don't inline unpackCString
     e3abe55 Import GHC.Err so we see bottoming functions properly
     59a4969 Don't inline enumDeltaToInteger until its rules have had a chance to fire
     b12c687 Fix QSem and QSemN: Initial amount must be non-negative
     534875d FIX #3171: make sure we have only one table of signal handlers
     3a8892c Use a bang pattern when we where/let-bind values with unlifted types
     eae9587 Use a bang pattern when we where/let-bind values with unlifted types
     3050a63 Add more bang patterns, needed to fix the 32bit build
     89f7400 Add wrappers around fcntl We need to do this as it has a (, ...) type, which we aren't allowed to directly call with the FFI.
     925de5d remove msvcrt and kernel32 from extra-libraries
     603dc2c add _O_NOINHERIT when opening files on Windows (see #2650)
     f7aba142 Document that the initial quantity for QSem and QSemN must be >= 0
     3b73807 Fix warnings
     d93422a Increase the version number to that in the 6.10 branch
     b4a6381 Add liftString, to match the "improve lifting for strings" patch in the compiler
     c40a70c Fix #3257: document that exitWith in a forkIO'd thread does not exit the process
     ac45944 Make two type defaults explicit
     d7940ee Fix validate (on Windows)
     f06ff78 Add missing -XTypeOperators
     84aff67 Remove the unused decodeFloatInteger
     7892f2f Remove unnecessary parens
     247de6b nhc98 must build dirUtils.c as well. Fixes this bootstrapping error:   Undefined symbols:   "___hscore_readdir", referenced from:       _FR_System_46Posix_46Internals_46readdir_35 in libHSbase.a(Internals.o)
     ea7e893 Add __encodeDouble and __encodeFloat Moved here from the rts.
     16f5710 Remove unused foreign imports of __encodeFloat/Double
     10b4734 abstractify ModName, PkgName and OccName; drop dependency on packedstring
     7b067f2 Rewrite of the IO library, including Unicode support
     7834fd6 Add iconv as an extra library on platform that need to link with it For example, we need -liconv on OS X.
     7f97d9d Allow System.Posix.Internals to compile with nhc98 again. Also affects GHC.IO.Device, which is not very GHC-specific at all.
     bbbf03e Fix #3128: file descriptor leak when hClose fails
     1e74d27 Save and restore the codec state when re-decoding
     d273fbc Fix warnings in C programs generated by configure; fixes failures with -Werror
     5abf6bc Fix warnings in configure script
     0f859f0 The IO type has moved to GHC.Types in ghc-prim
     86b3b70 Redefine gcdInt to use gcdInteger rather than gcdInt# primop The gcdInt# primop uses gmp internally, even though the interface is just Int#. Since we want to get gmp out of the rts we cannot keep gcdInt#, however it's also a bit odd for the integer package to export something that doesn't actually use Integer in its interface. Using gcdInteger is still not terribly satisfactory aesthetically. However in the short-term it works and it is no slower since gcdInteger calls gcdInt# for the special case of two small Integers.
     68e2d96 Implement the gmp primops in the integer-gmp package using cmm
     8294eb6 Tweak the small integer case of gcdInteger for better optimisation The gcdInt function in the base package now calls gcdInteger with two small integers. With this weak, the optimiser generates a base gcdInt that directly calls the gcdInt# primop from this package. This means there should be no additional overhead compared to when the base gcdInt called the gcdInt# primop directly.
     116fd1f Add a configure script and rely on local definitions of derived constants
     060251c Move gmp to here, from the GHC repo
     64bcc31 Add a GHC.Debug module, with debugLn :: [Char] -> IO ()
     0c829ca The IO type has moved to GHC.Types in ghc-prim
     d8cc29c Remove the Integer functions; they're now in integer-gmp instead
     819ff42 Move the int64 conversion functions here, from ghc-prim
     ce8b9e1 Fixes for building on machines that don't have gmp
     bba3952 Remove old Integer prototypes
     81217a9 Don't put "extra-libraries: gmp" in the cabal file; it comes from the buildinfo file
     28d1321 Remove AC_C_CONST It was breaking the build on Windows. The problem was that we included stdio.h which gave a prototype for some functions (e.g. remove), then the AC_C_CONST meant that we did     /* Define to empty if `const' does not conform to ANSI C. */     #define const /**/ and then we included io.h which gave prototypes that, due to const being removed, conflicted with the earlier prototypes.
     4a35e26 Improve the configure script
     585f14e Make configure fail if deriving the constants fails
     ee93754 gmp build tweaks
     82427f5 Unconditionally make a (Show Ptr) instance It used to only exist if (WORD_SIZE_IN_BITS == 32 || WORD_SIZE_IN_BITS == 64)
     772a168 Add a comment to remind us that memcpy_src_off is used by dph
     2e7e5a3 Windows: Unicode openFile and stat functions
     cfc1d39 Patch GMP to always use the GHC allocation functions This works around a crash (only on OS X for some reason?) where the GHCi GMP uses the systems memory allocator. We should fix this properly, by making ghci run constructor functions.
     14a5ed1 Make this file independent of HsBase.h, use HsBaseConfig.h only
     7f3e271 Tidy up use of read/write/recv/send; avoid unnecessary wrappers
     331047f don't include config.mk if we're cleaning
     5aa24b2 Make this package now really integer-gmp, rather than pretending it's integer
     7975b3a fix bug in partial writes
     82ea26e add hFlushAll, flushes both read and write buffers
     cdd8efa fix the dependencies on GmpDerivedConstants.h when HaveLibGmp==YES
     77bdf4d Call nl_langinfo(CODESET) to get the name of the locale encoding on Unix
     fe11112 setNonBlockingMode now takes a flag, can turn blocking mode back on again
     6664b78 Fix iconv detection on OpenBSD Matthias Kilian discovered that iconv_open is #define'd to something else on OpenBSD, so the test needs to include the iconv header.
     6879b31 fix build failure on Windows
     0c29bd3 not having iconv is not fatal on Windows
     44f5e8e fix the windows build even more
     f1c161e Move directory-related stuff to the unix package now that it isn't used on Windows any more.
     e5c2417 Fix the case of HaveFrameworkGMP values
     63b433a Check for whether we have gmp.h, as well as whether we have the gmp library
     a8da923 set binary mode for existing FDs on Windows (fixes some GHCi test failures)
     9416fb7 #include <sys/times.h> if we have it (should fix build problems)
     c5692da Add a wrapper for libiconv.
     ff79ef5 avoid a warning
     818e4ab a byte between 0x80 and 0xBF is illegal immediately (#3341)
     63128a7 Don't export CLDouble for GHC; fixes trac #2793 We never really supported CLDouble (it was a plain old double underneath), and pretending that we do does more harm than good.
     942281f Add 'eof' to Text.ParserCombinators.ReadP
     63a241d Remove some cruft from Data.HashTable
     dbb6d84 Use the result of writeCharBuf
     c84bffd Remove unused imports from base
     244350c fix mk/build.mk for HaveLibGmp/HaveFrameworkGMP Previously if you were to set HaveFrameworkGMP/HaveLibGmp in mk/build.mk (e.g. on mac os) the settings would be ignored, as gmp/config.mk is included late in GHC's ghc.mk, meaning autoconf overrides your settings. Now they ignore the values picked up by configure if you set these variables.
     7c97c89 Remove unused imports
     48ba358 Remove unused imports
     201a288 Add back imports needed on Windows
     d521a6a Fix "warn-unused-do-bind" warnings where we really do want to ignore the result
     e6b1fc6 Fix "warn-unused-do-bind" warnings in System.Posix.Internals
     3ef577a Fix "warn-unused-do-bind" warning in GHC.Conc If we fail to communicate with the IO manager then we print a warning using debugErrLn from the ghc-prim package.
     95f71e7 Minor code tidyups in GHC.Conc
     4f1f969 Use the result of writeCharBuf in GHC/IO/Encoding/Latin1.hs too
     f1c7f5b Fix some "warn-unused-do-bind" warnings where we just want to ignore the result
     313263a Fix "warn-unused-do-bind" warnings in GHC/IO/Handle/Text.hs
     5480a97 Minor SampleVar refactoring
     1b12b2e Fix some "warn-unused-do-bind" warnings where we want to ignore the value
     28056bd GHC.Conc.reportError now returns IO () It used to return IO a, by "return undefined".
     63263ed reportStackOverflow now returns IO () It used to do "return undefined" to return IO a.
     fb13a2a Remove an unused import
     1274496 Use throwErrnoIfMinus1_ when calling getrusage
     c23bcae Fix some "warn-unused-do-bind" warnings where we want to ignore the value
     c344229 Fix build on Windows
     3d5794a add a comment about the non-workingness of CHARBUF_UTF16
     43c7f11 Add a debugErrLn function, which is like debugLn except it prints to stderr
     6bc00b2 Export Unicode and newline functionality from System.IO; update Haddock docs
     ecfac87 Add the utf8_bom codec as suggested during the discussion on the libraries list.
     33209d5 Add more documentation to mkTextEncoding noting that "//IGNORE" and "//TRANSLIT" suffixes can be used with GNU iconv.
     07c5532 Add hGetEncoding :: Handle -> IO (Maybe TextEncoding) as suggested during the discussion on the libraries list
     b6c2447 warning fix: -fno-implicit-prelude -> -XNoImplicitPrelude
     9d3a7e4 remove unused warning
     f20d8c1 Add GmpDerivedConstants.h dependencies for all ways, not just vanilla
     1ea44d1 Make chr say what its argument was, if it's a bad argument
     5099abf Improve the index checking for array accesses; fixes #2120 #2669 As well as checking that offset we are reading is actually inside the array, we now also check that it is "in range" as defined by the Ix instance. This fixes confusing behaviour (#2120) and improves some error messages (#2669).
     c6214d4 move "instance Exception Dynamic" so it isn't an orphan
     fd5e28c Move the instances of Functor and Monad IO to GHC.Base, to avoid orphans
     f6a645e depend directly on integer-gmp, rather than indirecting through integer
     7d28e54 Make integer-gmp suitable to be used directly, rather than via integer
     6679d2c Whitespace only, in gmp-wrappers.cmm
     3ee11c4 Remove unused stack variable
     50d0195 Use shift[LR]Integer in the Bits Integer instance
     14ca574 Add integer-simple as a build option
     8325cd8 Add primops for shifting
     12e1e1f Follow changes in GHC and the other libraries
     a63b16e () is now available, so use that instead of our own
     a7e4d79 Add an import so the deps get sorted out correctly
     cfe2b67 Add NoImplicitPrelude to the extensions used
     44dc3ef Fix GC annotations in GMP_TAKE1_UL1_RET1()
     65f42eb Update to follow RTS tidyp changes
     47b0050 fix conditionals (prevents GMP always being built)
     82b3b2a Update to follow RTS tidyp changes
     5f54b85 Updates to follow the RTS tidyup C functions like isDoubleNaN moved here (primFloat.c)
     356f414 Windows build fix, following RTS tidyup
     bcbe9e7 Deprecate Control.OldException
     ed6de50 Tweak the BufferedIO class to enable a memory-mapped file implementation We have to eliminate the assumption that an empty write buffer can be constructed by setting the buffer pointers to zero: this isn't necessarily the case when the buffer corresponds to a memory-mapped file, or other in-memory device implementation.
     cc81cb8 fix a copyright
     32ed9c8 add INLINE toList
     23a7746 Fixing configure for autoconf 2.64
     2e1f145 Add some more C wrappers; patch from Krister Walfridsson Fixes 21 testsuite errors on NetBSD 5.99.
     3744427 Apply proposal #3393 Add openTempFileWithDefaultPermissions and openBinaryTempFileWithDefaultPermissions.
     57fea45 Add a GHC.Constants module; fixes trac #3094
     97f3d01 Add a doc header to GHC.Types, and point at GHC.Exts
     7a3b850 Fix "Cabal check" warnings
     6401664 Fix "Cabal check" warnings
     1d08e94 improvements to Data.Fixed: instances for Typeable and Data, more predefined types
     bf2f7ce Document 'CompE' better (see Trac #3395)
     2da4486 Apply fix for #1548, from squadette at gmail.com
     32f868b un-hide some modules from the Haddock docs
     8537662 typo in comment
     a05ddfe Allow for configurable iconv include and library locations. This should help to fix the build on OpenBSD.
     0bb639d fix debugging code
     bc41c09 Fix hWaitForInput It was erroneously waiting when there were bytes to decode waiting in the byte buffer.
     b98015a Fix #3441: detect errors in partial sequences
     7ac406c Fix unicode conversion for MSB architectures This fixes the SPARC/Solaris build.
     a5e2fa9 Address #3310
     92c7985 Bump base version to 4.2.0.0
     bf7ad38 Fix "init" docs: the input list need not be finite. Fixes trac #3465
     b63b596 On Windows, use the console code page for text file encoding/decoding.
     9563eea make some Applicative functions into methods, and split off Data.Functor (proposal #3335)
     970816a Use let !y = x in .. x .. instead of seq in $! and evaluate (#2273)
     8dad51b Use CONF_CC_OPTS - Needed to get arch-dependent options, eg, on Snow Leopard
     5b5e5b7 Fix #3534: No need to flush the byte buffer when setting binary mode
     81c87ee Fix the error message when flushing the read buffer of a non-seekable Handle
     612db02 Add traceEvent :: String -> IO () For emitting an event via the RTS tracing framework
     3c87dfe Strip any Byte Order Mark (BOM) from the front of decoded streams. When decoding to UTF-32, Solaris iconv inserts a BOM at the front of the stream, but Linux iconv doesn't.
     ad96a22 use UTF32BE/UTF32LE instead of UCS-4/UCS-4LE
     7f5e473 Strip any Byte Order Mark (BOM) from the front of decoded streams. When decoding to UTF-32, Solaris iconv inserts a BOM at the front of the stream, but Linux iconv doesn't.
     ef624c4 Use UTF-32LE instead of UTF32LE The latter is not recognised by some iconv implementations.
     3951112 Fix gratuitous breakage for non-GHC in Data.Bits.
     1748fa8 Fix gratuitous breakage of non-GHC in Data.Fixed.
     1fcc5c8 Fix gratuitous breakage of nhc98 in Control.Exception.Base.
     8a7745d Fix gratuitous breakage of nhc98 in System.IO.
     fdc271f Cope with nhc98's (occasionally-strange) import semantics.
     c3b8a74 Make Data.Functor compatible with non-GHC compilers.
     9590147 Another instance of nhc98's strange import semantics.
     dfad393 It seems that nhc98 needs defaulting in Data.Fixed.
     894d7fe Roll back "Cope with nhc98's (occasionally-strange) import semantics" Fri Oct  9 14:43:51 BST 2009  Malcolm.Wallace at cs.york.ac.uk GHC (correctly) warns about the unused import, which breaks the validate build.
     2fa71f7 Roll back "Another instance of nhc98's strange import semantics." Fri Oct  9 14:50:51 BST 2009  Malcolm.Wallace at cs.york.ac.uk GHC (correctly) warns about the unused import, which breaks the validate build.
     188bff7 Re-instate System.Console.Getopt for nhc98 builds. Although it was split out of base a while back, that change was reverted for ghc soon afterwards, but nhc98 never noticed.
     23c183b Make hGetContents throw an exception if an error is encountered
     1895485 dirUtils.c no longer available
     381f8a8 Inline foldr and (.) when applied to two arguments not three
     763bea6 Tidy up and comment imports
     5a1ec04 Exploit now-working default-method INLINE pragmas for Data.Bits
     1d6de5f Move error messages out of INLINEd default methods
     00c66fe Inline more default methods
     8d0eda2 Don't inline unpackFoldrCString ever
     07bbc8c improve the documentation for throwErrnoIfRetry
     23939c6 Fix #1185: restart the IO manager after fork()
     d9b3261 Fix the build on Windows
     429156a Rollback #1185 fix
     e5b04f8 Second attempt to fix #1185 (forkProcess and -threaded)
     23a2c67 Remove ffi warnings for nhc98.
     99ead68 Move Eq/Ord Ordering instances to de-orphan them
     08c5e81 De-orphan the Eq/Ord Bool instances
     b7d693c De-orphan the Eq/Ord Char instances
     20d77cb De-orphan the Eq/Ord [a] instances
     c677ed0 Rearrange the contents of Control.Monad.ST; no functionality changes
     606ef3a De-orphan the MonadFix ST instance for GHC
     0739342 Control.Exception.Base no longer has any orphans
     b3a0d27 De-orphan tuple Eq/Ord instances
     d39fcd7 We can now derive Ord ()
     62e84a9 Derive some more instances, rather than writing them by hand
     468595e Whitespace only
     d6f29a0 De-orphan the Eq/Ord Integer instances
     78217b0 Remove an old comment
     450bac6 Make sure zipWithFB has arity 2
     c3f0928 Tweak layout to be accepted by the alternative layout rul
     b0b39d7 Tweak layout to work with alternative layout rule
     07061cc Remove an unnecessary -fno-warn-orphans flag
     46629f2 Fix arities of mapFB and zipFB
     f4b76d3 hGetContents: close the handle properly on error
     524d844 check for size < 0 in mallocForeignPtrBytes and friends (#3514)
     0e0130b x86_64 requires more stack
     8c44eab fix the docs regarding finalizer guarantees
     07f3840 Data.Either.partitionEithers was insufficiently lazy. Spotted by Daniel Fischer.
     238b0d4 Add comments to "OPTIONS_GHC -fno-warn-orphans" pragmas
     21b0ea0 De-orphan Eq/Ord Float/Double
     8a4aa09 Comment the remaining orphan instance modules
     6103a09 Mark 'index' as INLINE in GHC.Arr
     0dd0cce Fix Trac #3245: memoising typeOf
     b6b3de1 Add comments about double bounds-checking, and fast paths for rectangular arrays
     8b3a3db Restore previous Data.Typeable.typeOf*Default implementations for non-ghc. Not all compilers have ScopedTypeVariables.
     b48b19b Replace the implementation of mergesort with a 2x faster one. See ticket http://hackage.haskell.org/trac/ghc/ticket/2143.
     a8d9dc1 Control.Monad: +void :: f a -> f () See http://hackage.haskell.org/trac/ghc/ticket/3292 Turns m a -> m (). Lets one call functions for their side-effects without having to get rid of their return values with '>> return ()'. Very useful in many contexts (parsing, IO etc.); particularly good for 'forkIO' and 'forM_', as they demand return types of 'IO ()' though most interesting IO functions return non-().
     c2507dd hIsEOF: don't do any decoding (#3808)
     0dd5ade Fix the build: export void, so it doesn't give an unused binding warning
     a9db92b fix #3832: use the locale encoding in openTempFile Also while I was here fix an XXX: the Handle contained an uninformative string like <fd: 4> for error messages rather than the real file path.
     c9de89a Stifle warning about unused return value
     59252fb For nhc98, import unsafeInterleaveIO rather than defining it here.
     b7212fa Handle NaN, -Infinity and Infinity in the toRational for Float/Double (#3676)
     b166de1 Update the exitWith docs Error pointed out by Volker Wysk <vw at volker-wysk.de>
     8ff7031 nhc98 should build Data.Functor.
     9699809 Put the complexity in the length docs. Fixes trac #3680
     cba34d6 UNDO: Handle NaN, -Infinity and Infinity in the toRational for Float/Double (#3676)
     c77631a FIX #3866: improve documentation of Data.Data.Constr
     4cd0295 Plug two race conditions that could lead to deadlocks in the IO manager
     da9c3f7 Documentation fixes in Control.Exception
     f73dee6 Fixed dead links in documentation of forkIO
     522a41a Tweak docs
     843fd34 change to use STM, fixing 4 things   1. there was no async exception protection   2. there was a space leak (now new value is strict)   3. using atomicModifyIORef would be slightly quicker, but can      suffer from adverse scheduling issues (see #3838)   4. also, the STM version is faster.
     f513faee1 Write the thunk 'next' to the MVar
     3a6a033 Fix bugs regarding asynchronous exceptions and laziness in Control.Concurrent.SampleVar  - Block asynchronous exceptions at the right places  - Force thunks before putting them in a MVar
     05c9b24 Make SampleVar an abstract newtype
     fe89270 fix the deprecation message (GHC.IO.Handle.Base -> GHC.IO.Handle)
     2f25bea runInUnboundThread: block asynchronous exceptions before installing exception handler
     416bddb withThread: block asynchronous exceptions before installing exception handler. Note that I don't unblock the given io computation. Because AFAICS withThread is only called with 'waitFd' which only performs an FFI call which can't receive asynchronous exceptions anyway.
     cb1ec67 remove old/wrong comment
     d5dff95 Tiny code tidy-up
     a414415 Fix bitrot in IO debugging code Also switched to using Haskell Bools (rather than CPP) to en/disable it, so it shouldn't break again in the future.
     6445963 Ignore the return code of c_fcntl_write again
     8095608 Move comment closer to the offending line
     98aeee2 INLINE alloca and malloc See discussion on glasgow-haskell-users:   http://www.haskell.org/pipermail/glasgow-haskell-users/2010-April/018740.html
     bcf26f5 add NOINLINE pragmas for stdin/stdout/stderr
     2ff3230 raise asynchronous exceptions asynchronously (#3997)
     9a36403 inline allocaArray0, to fix withCString benchmark
     092c0cf Add swap (#3298)
     1428e6e Add hGetBufSome, like hGetBuf but can return short reads
     df963fc add Typeable instance
     fb2c023 elaborate the docs for unsafePerformIO a bit
     4922f39 improve the documentation for throwTo and killThread (#3884)
     77dcfa5 Fix for hGetBufSome
     39aa14d Correct haddock formatting.
     38e98e3 hSetEncoding: change the encoding on both read and write sides (#4066)
     7eaf04a hWaitForInput: don't try to read from the device (#4078) readTextDeviceNonBlocking is not non-blocking on Windows
     bb6c2ee export hGetBufSome (#4046)
     24265cd fix syntax in doc comments
     3b4000f doc comment illustrating Foldable(foldr)
     855b6c7 expand Foldable instance for Array
     ecff886 Added Applicative and Alternative instances for STM
     74e75a2 Moved MonadPlus instance for STM from Control.Monad.STM to GHC.Conc to avoid an orphaned instance
     808665a bump version to 4.3.0.0, added instance MonadPlus STM
     2429795 Don't depend on Prelude (#4123)
     7e991e1 don't depend on Prelude (#4122)
     f3bbb89 docs: note that hGetBufNonBlocking isn't non-blocking on Windows
     0771aab Add a note about the interruptibility of throwTo.
     264ffc7 Use libcharset instead of nl_langinfo(CODESET) if possible.
     c9bb622 add Applicative instance for Either (proposal #4095)
     5dd5a90 Don't define the C localeEncoding on Windows (it causes warnings, and isn't used)
     95ff509 add an INLINE to the list version of traverse, to enable fusion
     37fa6df remove extraneous info from docs for Array
     bd2d802 add doc for the ExitCode type
     c4228db nit in docs for accumArray
     2d6a2e0 make the hGetBuf/hPutBuf family work with non-FD Handles (#4144)
     fc5566b fix docs for isSpace
     02d543a correct docs for exitWith: only stdout/stderr are flushed, not all Handles
     039b6e1 Give nub's complexity in the haddock docs; fixes #4086
     aeb0696 Fix haddock formatting
     0506438 doc wibbles
     035b627 doc wibble
     23e8914 doc updates in System.IO
     0d6d3b3 doc wibble
     da43f48 move the doc for 'Char' to its new home in ghc-prim:GHC.Types
     bdfebf2 doc whitespace
     f9a9ace doc wibble: nonstrict -> non-strict
     8fb7b12 doc wibble: remove confusing mention of "Prelude"
     56f36a9 use '==' consistently rather than '->' in examples
     2c4faf5 Haddock hacks to fix whitespace consistency
     8496a88 doc typo
     97545f7 doc wibble: Haskell 98 I/O Error -> 'IOError'
     d4fc1d7 doc typo
     a879e42 doc typo
     485a489 doc typo
     e88be24 peekArray docs: remove mentions of "this version" and "previous version"
     b6dca0e doc typo
     207a6a6 extract information about Data.Time from docs for CTime
     5f0bcba unqualify Float and Double
     d770bc0 docs: unqualify Prelude.IO
     7cd4211 remove docs from Monad that belonged on the instance for MonadPlus IO
     fd70fba Fix a few places where we forgot to close the text codecs (#4029) Each time you invoke :load in GHCi it resets the CAFs, including stdin/stdout/stderr, and each of these was allocating a new iconv_t.
     23d79ef Async-exception safety, and avoid space leaks Patch submitted by: Bas van Dijk <v.dijk.bas at gmail.com> Modified slightly by me to remove non-functional changes.
     3ae2fa0 Async-exception safety, and avoid space leaks Patch submitted by: Bas van Dijk <v.dijk.bas at gmail.com> Modified slightly by me to remove non-functional changes.
     7315707  New asynchronous exception control API (base parts)
     d328fb6 Allow nhc98 to cope with recent changes to Control.Exception.
     4ed43d3 Remove duplicated word in documentation
     a2d8cd7 Fix typo in documentation
     564d00c Partial fix for Trac #4136
     2f788c9 mention that IntPtr and WordPtr can be marshalled to/from intptr_t and uintptr_t
     5e2ec13 add cast{C,U}CharToChar and castCharTo{C,U}Char, from Haskell 2010
     e4a66c6 note shortcutting behaviour of any/all/elem
     90067a6 clarify meaning of bit
     e2fcaf0 doc: use "finalizer" consistently
     fac2960 document exception-overriding behaviour in withFile
     941c197 add module intro from Haskell 2010
     80d8b2f doc formatting fix
     73bd02b docs: mention that Foreign.unsafePerformIO is deprecated We can't actually deprecate it without introducing a name clash between Foreign.unsafePerformIO and System.IO.Unsafe.unsafePerformIO
     175e795 add unsafeLocalState from Haskell 2010, and docs
     5a9bd2b add numSparks :: IO Int (#4167)
     4c45d8f Remove egregious ghc-ish from Foreign.Marshal
     6583bc7 move Monad and MonadFix instances for Either from mtl (proposal #4159)
     41fe4e3 Add mfilter to Control.Monad
     bae5886 Bump version to 0.2.0.0
     f4acc35 Bump version to 0.2.0.0
     5cc558c Pad version to 0.1.0.0
     d1c396b Set the path to nm before configuring the C gmp lib
     6b3eea4 Fix Trac #3572 (pls merge)
     f8fe4fd Fix pretty-printing of INLINE pragmas
     659ca88 Windows DLLs: Tag imported gmp symbols with the package they're from.
     33a319e Add new GHC.Magic module
     471b14a Undo previous patch, caused linker problems on x86_64/linux
     ccdaa27 allocateLocal was renamed to allocate
     631bb7f Add a missing dependency on gmp.h
     9dbad72 bump base dep; apparently base4 is now required
     620cdc5 Fix a makefile dep
     a7a7d7b Move .depend file dependency inside HaveLibGmp test We were building GMP even if we didn't need to.
     6fd63e5 Tag imported gmp symbols with the package they're from
     2eaf722 MERGED: Pass GMP paths when compiling mkGmpDerivedConstants; fixes trac #3784 Ian Lynagh <igloo at earth.li>**20100118191831
     d7e56c1 Don't rely on tar supporting -j; trac #3841
     cd0cecb Fix the build A missing | meant that the build broke on machines that don't have libgmp available.
     2528077 Fix the $(GMP_DIR) path that we remove
     b749fed pass $(AR) to the GMP build
     1f4961a Follow variable name changes
     e69ab88 FIX #38000 Store StgArrWords payload size in bytes
     87af623 Tighten the base dep; fixes trac #3809
     619fc6b Add quasiquote definitions for declarations and types
     7c93bf7 Add parens in patterns; fix Trac #3899
     49f2a3b Format most comments for haddock.
     65160e0 Fix typo
     d474eda Replace an (incorrect) bytes-to-words calculation with ROUNDUP_BYTES_TO_WDS
     4d372bc Follow SET_ARR_HDR change
     af3c0ac Hide GHC.Integer from haddock again, now that haddock #24 is fixed; trac #2839
     77f432c re-instate the documentation for 'Char', which got lost at some point
     43583aa Integrated new I/O manager (patch originally by Johan Tibell <johan.tibell at gmail.com>, minor merging by me)
     37f9e66 Add type signature in local where
     a76bad5 Add type signatures to cope with lack of local generalisation
     aae6f86 deprecate unGetChan and isEmptyChan (see #4154)
     74500d4 Improve TH pretty printing
     0d34321 export allocaBytesAligned; make allocaArray use the correct alignment (#2917)
     e449f18 Fixed a rounding error in threadDelay
     2e197f1 Add a missing castPtr (only shows up in -DDEBUG)
     dc8d692 fix cache variable name used by FP_SEARCH_LIBS_PROTO
     cbd9e54 Fix warnings
     3e3cfe9 Fix the build when HAVE_KQUEUE but not HAVE_KEVENT64
     e7f7ce7 More accurate isatty test for MinGW.
     158edf1 Fix Windows build; patches frmo ezyang
     29cc62c Remove debugging code accidentally left in
     68e20b5 avoid Foreign.unsafePerformIO
     f5f073d Put the state-token argument on fill, done, adjust on the RHS
     4176e8a fix warning on Windows
     a442e21 deriving (Eq, Ord, Read, Show) for Newline and NewlineMode
     1957027 don't fill a finalized handle with an error (see comment)
     c3563c6 Add a suitable Show instance for TextEncoding (#4273)
     b6c6bc8 Add missing import, fixes build on windows
     c3c5bee Add absentError.
     1b0a5be tighten up parsing of numbers (#1579)
     deea031 Windows: map ERROR_NO_DATA to EPIPE, rather than EINVAL WriteFile() returns ERROR_NO_DATA when writing to a pipe that is "closing", however by default the write() wrapper in the CRT maps this to EINVAL so we get confusing things like
     0363c0b some fixes for hGetBufSome  - fix one case where it was blocking when it shouldn't  - a couple of error-message tweaks
     880046f Allow Data.HashTable construction with user-supplied size
     a5e8598 Use the stage-specific CONF_CC_OPTS variables
     76dcfb8 Add a StringPrimL constructor to the Lit type (fix Trac #4168)
     8ac36fd implement integer2Int# and integer2Word# in Haskell, not foreign prim
     6c00372 fix hashInteger to be the same as fromIntegral, and document it (#4108)
     13393fc documentation for IODeviceType (#4317, edited by me)
     6cc96ac doc tweak for Directory file type: file names are '\0'-separated
     8e81282 Make intersectBy lazier Add shortcuts to intersectBy for empty list arguments. In addition to being faster in that case, more inputs yield defined results. Treats ticket #4323
     13e2f4a FIX #4228 (atanh (-1) returns NaN instead of -Infinity)
     61b7635 Fix compile warning on 32bit machine
     54047d1 Add quoteFile function (see Trac #4293)
     4292f7c Add TH reification of instances (Trac #1835)
     e6ad4fd Bump version to 2.5.0.0
     c33ce37 Export recent additions from Language.Haskell.TH
     e7bd0d0 Extend Template Haskell support for interruptible calls.
     ce7e28e Bump version number to 0.2.0.2
     efc5f12 Lazier intersperse A lazier implementation of intersperse, and consequentially intercalate, to avoid space leaks.
     9e176dc Added initial .authorspellings
     c60ff20 Replaced some throws to throwIOs where the type is IO
     e015075 FIX #4381 Fix scaleFloat by clamping the scaling parameter so that exponent + scale doesn't overflow.
     fed095f remove trailing whitespace
     bb0e835 throwTo: mention interruptible foreign calls
     686bce8 Define SpecConstrAnnotation in GHC.Exts, and import it from there
     2620fbe FIX #1434 Rewrite rules for RealFrac methods with sized Int and Word targets. For all types whose range is contained in Int's range, there are now rewrite rules for properFraction, truncate, floor, ceiling and round from Double and Float, going through the specialised methods for Int.
     c3c3533 FIX #4334 Make selector thunks visible to GHC to fix a space leak in lines.
     55d1537 Generalize catchSTM
     834b9cf Add throwSTM :: Exception e => e -> STM a
     5329059 Added view patterns (Trac #2399)
     a59bf17 FIX #4336 Avoid superfluous gcd calculation in recip for Ratio a because numerator and denominator are known to be coprime.
     f87c2eb remove trailing whitespace
     ca69c4f FIX #4337 Special versions for the power functions with a Rational base and rewrite rules.
     27310e0 FIX #4335 fromRational :: Rational -> Ratio a produced invalid results for fixed-width types a. Reduce the fraction to avoid that.
     16e5ce1 Remove redundant imports, now that NoImplicitPrelude does not imply RebindableSyntax
     132e2c2 Follow GHC.Bool/GHC.Types merge
     aeb9367 CIntPtr, CUIntPtr, CIntMax, CUIntMax are new to nhc98.
     4041be6 Add showMultiLineString to GHC.Show
     a75383c Refer to 'mask' instead of 'block' in documentation of Control.Exception
     e6c8e5d hGetBuf: fix a case of a short read being returned (#4427)
     4e089af Add an INLINE pragme for fmapDefault
     f5dc1f6 Add an INLINE pragma on fromInteger on Int
     e44eac2 Fix whitespace in codepages/MakeTable.hs
     db5a9f5 Add a Makefile for MakeTable, and remove GHC.Num generated import
     2c9b441 Re-gen GHC/IO/Encoding/CodePage/Table.hs
     ac6e50b Remove redundant import
     cd5e82e Reimplement firstPowerOf2
     679d2c3 Add LANGUAGE BangPatterns to modules that use bang patterns
     b1b414a System.Event.KQueue conditionally uses BangPatterns
     2494866 Add some comments to the generated Table.hs
     3b01da3 Remove unnecessary fromIntegral calls
     36896b6 Use throwIO instead of throw in runInBoundThread and runInUnboundThread
     3503268 There's no need to explicitly check for blocked status in runInUnboundThread when we have mask
     eea9504 Catch exceptions in current thread and throw them to the forked thread in runInUnboundThread
     f891dda Fixing uses of fromIntegral for Windows
     61eb4de Remove redundant fromIntegral
     0a5ae50 Make (^) and (^^) INLINABLE
     4c6bc7f Remove a redundant fromIntegral
     04e3a09 Remove an unnecessary fromIntegral
     e7b799f Remove unused import on Windows
     db78cae doc fix: don't refer to unblock.
     3beebdc use LANGUAGE instead of OPTIONS_GHC
     443a9f1 Don't throw an error if the output buffer had no room This is consistent with the other codecs, and will be relied on by some upcoming changes in the IO library.
     62c11c9 Encode immediately in hPutStr and hPutChar This means that decoding errors will be detected accurately, and can be caught and handled.  Overall the implementation is simpler this way too.
     0944a3b fix hTell behaviour with Unicode Handles
     d1e5852 Fix typo
     9c0da18 check for ClosedHandle in read/write operations on DuplexHandles (#4808)
     0b73a8d -XPArr is now -XParallelArrays
     2046516 fix a discarded exception in hClose
     21c4b26 extend the documentation about interruptible operations
     8b3134d Export String from Data.String
     5b0dbb5 Do not export String from Data.Char
     fab6b97 Also export lines, words, unlines and unwords from Data.String
     d8a0209 Add a Read instance for Data.Fixed.Fixed
     c69ecdd FIX #4383 Use a better approximation to logBase 10 2 to prevent leading zeros in floatToDigits.
     bdb39d8 Performance enchancement for floatToDigits Use quot and quotRem instead of div and divMod for dividing positive Integers since that is a bit faster.
     ef360ef Fix typo in floatToDigits The mDn value for powers of 2 >= floatDigits x - 1 was typo'ed, leading to longer than necessary show results in a few cases (e.g. 2.0^852). Corrected in accordance with Burger and Dybvig's paper.
     0853287 Cache for powers of 10 Add a cache for commonly needed powers of 10 to speed up floatToDigits.
     cd497c6 Bump the version of base
     79cf73c Fix #4514 - IO manager deadlock
     b6b40e4 Drop System.Mem.Weak's dependency on Prelude
     b9aeafa Fix #4533 - unregister callbacks on exception, fixing a memory leak
     dcc27a9 Drop closeFd from Control.Concurrent, rename to closeFdWith
     e30b2f4 Use onException for exception cleanup, and mask async exceptions
     7617a10 Fix warnings
     3485636 Fix build on Windows
     7676811 Replace uses of the old catch function with the new one
     798805f Always use 8k buffers instead of BUFSIZ This makes a huge difference to I/O performance for me on Windows, where BUFSIZ is 512.  It might help on Mac too.
     85bbbc4 Add Applicative instances for ST monads (proposal #4455)
     0a55732 indentation tweaks, re-order exports
     c32e204 indentation tweaks (whitespace only)
     52dbd3a Instances for ST not available in nhc98.
     88faf22 fix #4876
     511cbda Derived Eq instance for Chan
     a6d475c Derived Eq instance for QSem and QSemN
     842d0d2 Added a Typeable instance for SampleVar
     4f20ff4 Remove extensions required for GHC < 6.10
     5578d58 Add NondecreasingIndentation to the extensions needed
     232b001 Document System.Event
     6036932 Clean up remnants of the Event Manager after forkProcess. Closes #4449
     4cc27e7 fix silly mistake in hGetBufSome (#4895)
     32ba285 Use explicit language extensions & remove extension fields from base.cabal
     c3d80a4 add NoImplicitPrelude (fix Windows build failure)
     c1a2db0 add missing extensions for Windows
     6504ff9 add getNumCapabilities :: IO Int
     fa535ef Deprecate System.IO.Error.{catch,try} and Prelude.catch; fixes trac #4865
     a8003b2 Regenerated cbits/WCsubst.c based on Unicode 6.0.0
     f8dc7e4 Add Data.String to the nhc98 build
     3771f1c Fix incorrect #ifdef for nhc98
     9d379ca Do not export GHC.Generics from GHC.Base
     9a6c22b Merge GHC.Bool into GHC.Types
     ab7f235 Update GHC.Generics to new generic programming library
     2040842 Roll back generics changes in the HEAD repos
     c4ae3b4 Remove most of GHC.PArr - First step of migrating this code into the dph package
     d06adaf Expand and clarify MVar documentation.
     bdbbfc7 Grammar fix
     93038d5 Add some more explanation to the skip channel example in the MVar docs
     92b5624 improve discussion of the laws (doc comments only)
     92028dc Make the Timeout exception a newtype instead of a datatype
     85a39f5 follow changes to threadStatus#, and update stat values
     06c59e5 add threadCapability :: ThreadId -> IO (Int,Bool)
     9aaeb94 FIX #2271 Faster rounding functions for Double and float with Int or Integer results. Fixes #2271. Since some glibc's have buggy rintf or rint functions and the behaviour of these functions depends on the setting of the rounding mode, we provide our own implementations which always round ties to even.
     30f9427 Follow GHC.Bool/GHC.Types merge
     a350b02 Follow GHC.Bool/GHC.Types merge
     816f7e6 Follow GHC.Bool/GHC.Types merge
     f63a3ea Use showMultiLineString from GHC.Show
     056d48a Add a rewrite rule for toInt# so literals work right
     14476b7 Follow GHC.Types changes
     2ed6c18 Add LANGUAGE BangPatterns to modules that use bang patterns
     8a0e139 Remove unused functions combine, rename, genpat, simpleMatch
     8f16f80 Remove unnecessary toRational
     8eed780 Remove the "alpha" helper function; trac #4423
     64b90e7 Fix unknown symbol base_ControlziExceptionziBase_patError_info by helping GHC generate smarter core.
     37912e6 Put FlexibleInstances in PprLib alone
     008d230 Use type families
     ee74f61 Fix warning
     04f4b12 Never use epoll_create1; fixes trac #5005 There is little benefit to using epoll_create1 (especially if we still have the epoll_create code too), and it cuases problems if people build a GHC binary on one machine and try to use it on another.
     9ff857c Rename System.Event to GHC.Event It's just an internal GHC library, for now at least
     a1025fa Work around a limitation in the hsc2hs cross-compilation mode
     2811d81 Fix documentation for mkWeakIORef: argument is finalizer, not key or value
     b2e0b65 Add allowInterrupt :: IO ()  (#4810)
     8acfc99 Use functional dependencies
     5509e8a Use functional dependencies.
     381ce0f Add extensions to LANGUAGE pragmas
     f496f8b Add extensions to LANGUAGE pragma
     bbf06bf Change type of TH.classInstances (and qClassInstances)
     c7a4168 Tidy up gmp cleaning
     614c26b Correct the gmp build phase
     be8301a Update for changes in GHC's build system
     56d4508 We should not use XGenerics in ghc-prim, for now at least.
     35c86cc Call the final build system phase "final" rather than ""
     3b1ec6e Add unboxed tuple support to Template Haskell
     150a157 Roll back generics changes in the HEAD repos
     bb01c72 Add GHC.IO.Handle.FD.openFileBlocking (#4248) like openFile, but opens the file without O_NONBLOCK
     54c33b2 add forkIOWithUnmask, forkOnIOWithUnmask; deprecate forkIOUnmasked
     ba301c4 fix Haddock error
     53a93d1 Deprecate Control.Exception.blocked in favour of getMaskingState
     aec9d3e Export the affinity API from Control.Concurrent: forkOn and friends.
     31cb13b No need to include the OpenGL / OpenAL headers in aclocal.m4
     5534946 Rewrite FPTOOLS_CHECK_HTYPE to be cross-compilation-friendly Inspired by a patch from Mark Lentczner
     9463922 Generalize the type of Foreign.Marshal.Utils.maybeNew; fixes trac #5044
     a018a9c Tweak alloca docs
     0b6ff78 Less strict inits and tails
     763b7be Add .gitignore
     b9bab42 Merge branch 'master' of ssh://darcs.haskell.org/srv/darcs/packages/base
     fee7e18 Change debug prints in readTextDevice' to refer to right function
     84145c3 Fix handling of suffixes for GNU iconv
     fe98324 Change some uses of CString functions to CAString instead
     7089444 Document invariants on mkText{Decoder,Encoder}
     6ec3bbc Bump Cabal version we implement, and add source repository to .cabal file
     88020c7 Update source-repository in the .cabal file to point to the git repo
     4ded72a Update source-repository in the .cabal file to point to the git repo
     4970a5c Update source-repository in the .cabal file to point to the git repo
     43d12dc Use _NSGetEnviron on OS X: fixes #2458
     c7d6b4c Use FP_COMPUTE_INT rather than AC_COMPUTE_INT
     03de58e Swap FP_COMMUTE_INT argument order to match AC_COMPUTE_INT
     ed8f672 Removed Show instance for IOCallback and FdData The IOCallback instance conflicts with the more general instance Show (a -> b) defined in Text.Show.Functions
     e276da0 Update source repo location to be the git repo in .cabal file
     b49dea0 Initial commit for Pedro's new generic-default mechanism
     5b11dc6 Second initial commit for Pedro's generic-default mechanism
     3bf05a2 Initial commit for Pedro's generic-default mechanism
     3796c18 Improve docs for GHC.IO.FD.openFile
     976a913 Tweak build rules
     b1a391b Update comment on fmapDefault to note that it only works for Traversable instances with a given definition of traversable, and NOT for instances with only sequenceA given.
     48dd2aa Part of #5122 "Faster conversion between Rational and Double/Float" fix
     17f1654 Part of #5122 "Faster conversion between Rational and Double/Float" fix
     3812286 Part of #5122 "Faster conversion between Rational and Double/Float" fix
     bea20c0 Fix build on 64bit machines
     6203474 Make and use AR_STAGE[0123] makefile vars
     091e108 Follow CC var changes in makefiles
     1874189 For GHC, implement the Typeable.hs macros using standalone deriving
     6984014 Remove an unnecessary -fno-warn-unused-binds flag
     366bda5 Remove a redundant -fno-warn-unused-binds flag
     471bcc5 Merge branch 'master' of http://darcs.haskell.org/packages/base into ghc-generics
     5286a2e Remove old generics stuff.
     16482a4 Whitespace only.
     4c990cc Add instances for basic types of the new generic deriving mechanism.
     2f8e099 Update comments.
     00d0bc2 monad comprehensions: Group and Zip monad
     08db4da Performance improvement for division: got rid of an unnecessary branching in cases where the second argument is a constant and is not -1.
     f506257 Add GHC.Event.getSystemEventManager :: IO (Maybe EventManager)
     32038d8 Add a note about the definition of quot etc
     e40066a Comment the generics stuff instances in GHC.Int, for now.
     c0f3860 Merge branch 'master' of http://darcs.haskell.org/packages/base into ghc-generics
     89e8676 Add new module GHC.CString with functions relating to CString (moved from GHC.Base). Updated the base type modules so that the Generics flag is on (the CString functions are required because the generic representation uses strings).
     d4c8911 Moved the CString functions to GHC.CString in ghc-prim (needed for the new generic deriving mechanism).
     6ec0c9f Move Eq and Ord for Int from GHC.Base to GHC.Classes, so they are not longer orphan.
     fc3f3c9 Add Representable0 instances where needed.
     884f2be Add Representable0 instances to Either and Maybe.
     6bebb34 Merge branch 'monad-comp'
     f84e3b6 Merge branch 'master' of http://darcs.haskell.org/packages/base into ghc-generics
     c37911f Adapt to the renaming of `Representable0` to `Generic`.
     53ccafe Adapt to the renaming of `Representable0` to `Generic`.
     cdbce12 disable incorrect RULEs for Floats (#5178)
     741a5e3 Merge branch 'master' of http://darcs.haskell.org/packages/base into ghc-generics
     dc58b73 Big patch to improve Unicode support in GHC. Validated on OS X and Windows, this patch series fixes #5061, #1414, #3309, #3308, #3307, #4006 and #4855.
     8ea485f Merge branch 'master' of http://darcs.haskell.org/packages/base into ghc-generics
     d3ebf52 Use Unicode private-use characters for roundtripping
     036830b Change to the 0xEF80..0xEFFF private-use range for //ROUNDTRIP
     d48f6ea Merge remote branch 'origin/master' into ghc-generics
     d2c2c2a Merge branch 'master' of http://darcs.haskell.org/packages/base into ghc-generics
     4a66940 Add tests from testsuite/tests/h98
     a21710b Move tests from testsuite/tests/libraries
     1559fb3 Add System.IO.char8, the encoding used by openBinaryFile, and correct the documentation for hSetBinaryMode which claimed that it was using the latin1 encoding when in fact it was using an unchecked modulo-256 version of it.
     02beed4 docs: note strict sequential ordering of MVar operations
     e09bf1f document the memory model of IORef
     ada4548 document the behaviour of throwTo to the current thread (#4888)
     81443da add final newline
     ea28013 Remove datatype contexts from base
     d321fba Merge branch 'ghc-generics' of http://darcs.haskell.org/packages/base into ghc-generics
     a167d69 Merge remote branch 'origin/master' into ghc-generics
     240897e Add a missing "deriving Generic"
     39b51b1 Detab GHC/Tuple.hs
     a642f15 Don't derive Generic for tuples for now
     c1e88d8 FIX #5227: derive Generic only up to 7-tuples, like Data.
     2c240a8 Make 'forever' inlinable (fixes Trac #5205)
     b8e0de6 Add Haskell types for C types useconds_t and suseconds_t, which are respectively CUSeconds and CSUSeconds.
     a1a373a Whitespace only. This patch is part 2 of 4 for trac #4247 and #4970.
     e2850de Use CSUSeconds in getCPUTime and getCurrentTime. Fixes #4247.
     7c85f70 Remove wint_t configure test
     687c4e7 In configure, remove default Haskell equivalent of C types
     b565506 Refactor the FPTOOLS_CHECK_HTYPE macro
     119deaa In configure, set $WINDOWS to YES or NO
     47aa065 configure: fail if suseconds_t doesn't exist, except on Windows
     fe14485 Adjust behaviour of gcd
     3fb44a5 Fix suseconds configure test on Windows
     fd5c862 New gcd documentation
     1916561 Only the type definition of '[::]' (which is wired in) remains in 'GHC.PArr'.
     a61aedc SafeHaskell: Added SafeHaskell to base
     1dbde5d Changes for TypeNats.
     fd5e2bb Support for TypeNats
     6d1d9bd Merge branch 'master' into type-nats
     88d77e0 Fix build on Windows
     8d2d301 Fix Haddock.
     4d2ac2d Fix quoteRem, rem, divMod and mod definitions
     c4bcd9a Add a test for quot/rem/div/mod overflow
     aa46613 Fix a comment about splitAt (fixes #1182).
     196785e use seq# as the implementation of evaluate (see #5129)
     c04a6fb Fix some haddock markup
     066670a Make the calls to 'error' more informative (Trac #5274)
     5586f1b Bump version number
     ec1c486 Bump version number
     a36435e Fix a copy-and-paste-o
     956b98d Bump version number
     3c0d916 Foreign.Marshal now reexports Foreign.Marshal.Safe
     b89a2f8 Remove some legacy comments
     3f1606f Fix a typo
     e11e9ff Correct a comment
     e0b63e0 Typeable overhaul (see #5275)
     014775f fix warning
     3ffbf9a fix warnings (including moving things around to avoid orphan instances)
     ac28a24 In the deprecation warning for mkTyCon, suggest deriving Typeable.
     9698887 Follow removal of 'threadsafe' FFI imports
     73103ca Move the munzip function in the Zip type class;
     fb3ff79 small tweaks to docs
     51ea3e6 export unsafeDupablePerformIO
     1042a2c Implement unsafeLocalState by unsafeDupablePerformIO, not unsafePerformIO.  The latter is more efficient, and will work correctly for clients that are using unsafeLocalState for its documented uses.
     b855357 give instances of Ord for TyCon and TypeRep
     e08fb3a DEPRECATE typeRepKey
     c99e34d Add TH support for UNPACK pragmas (Trac #5290)
     052a964 Merge branch 'master' of http://darcs.haskell.org/packages/template-haskell
     79a8e5b Make Typeable safe now that handcrafted instances aren't allowed.
     a498671 Move GHC.Classes here from base
     e939cea GHC.Classes has moved to ghc-prim
     546d609 Use LANGUAGE pragmas rather than OPTIONS_GHC
     3c793f7 Integer Eq and Ord instances are now in the integer package
     1f9e4a3 Eq and Ord instances are now in the integer package, not base
     246d0f7 Fix build following modules moving around
     d4d3094 Follow library changes
     78aba9a Sync the typeable fingerprinting with GHC
     7359f81 Tweak the typeable fingerprinting
     0a69e14 Follow toInt# -> integerToInt renaming
     ddada32 Rename toInt# -> integerToInt for consistency
     69985f0 Rename toInt# -> integerToInt for consistency
     13ebd1e Simplify int2Word# . integerToInt -> integerToWord
     6e57e93 Don't inline most integer operations
     ccbb32d Add a missing implicit build dependency
     9dc19cd Add support for unresolved infix expressions and patterns.
     e72f6d4 Remove mention of setUncaughtExceptionHandler from forkIO.
     f6fe25d Add newline to the end of Control/Monad/Zip.hs
     8eecfc2 Upgrade gmp, 4.2.4 -> 5.0.2
     84bcbde Trailing whitespace
     62f5c97 Remove import of GHC.Show from IOBase.hs
     9ad111e Remove now-unnecessary import of GHC.Show
     fc1f061 Merge branch 'master' of /home/dafis/GHC/./ghc//libraries/base
     7c662d6 Data.Bits: specialise shift[LR] for instance Bits
     e72a0a3 Remove unnecessary import (Windows only)
     95d90ba Make Q an instance of Applicative
     d1050b0 Merge branch 'master' of /home/dafis/GHC/./ghc//libraries/base
     7d9e4f7 Remove -Werror from the cabal file
     7787668 No need to export Integer from GHC.Integer.GMP.Internals
     6f9d180 Eliminate orphan instances
     a6b1f7f Eliminate orphan instances
     9695595 New GHC.Stats module for accessing GC statistics.
     95f3b1a Warning police
     1fe8239 Merge branch 'master' of /home/dafis/GHC/./ghc//libraries/base
     8f43c3c Merge branch 'master' of /home/dafis/GHC/./ghc//libraries/base
     b2cec86 Fix the behaviour of scaleFloat; part of #3898
     15bc61c Remove some antiquated C constructs
     a097edc Merge branch 'master' of /home/dafis/GHC/./ghc//libraries/base
     232ad99 This should finally fix #5293 by fixing two bugs in GMP's configuration setup
     c99b8ec Make pattern matches more obviously complete
     dfd374c Trailing whitespace
     78d3296 Unbox all GCStats fields, also add cpu_seconds and wall_seconds.
     166e72f Merge branch 'master' of /home/dafis/GHC/./ghc//libraries/base
     2ea4044 Expand documentation for RealFloat. Part of #3898.
     db2ac3a Delete stray comma in doc for encodeFloat
     0ba0dbc Add a note about why/how we avoid patError
     0826e99 Use Safe Haskell when GHC >= 7.2
     21adc1d Formatting fixes
     91aceda Remove old darcs boring file
     779f36d Remove old darcs boring file
     98b804a Remove old darcs boring file
     eaa2fe4 Remove old darcs boring file
     a47a745 Add fallbacks for processor specific instructions (e.g. POPCNT). These fallbacks are referred to by code generated by GHC.
     f708b3d The unit tuple is defined in a different module to other tuples (oddly)
     d31c81f .gitignore
     963bd4b Update import of Text.PrettyPrint
     54ee4da Implement lookupTypeName/lookupValueName, and reification of type family instances
     b38f083 Drop bitrotted code for < 32-bit platforms
     03e8758 Drop bitrotted code for < 32-bit platforms
     65ba73b Fix documentation for withCWStringLen (#5396)
     5eaf161 Export Integer(..) from GHC.Integer.GMP.Internals again; fixes #5419
     4dfdbd1 Add Data.Bits.popCount
     93d2061 Follow ghc-prim changes
     88db1ec Merge GHC.Unit into GHC.Tuple, and GHC.Ordering into GHC.Types
     b0b6424 Follow ghc-prim changes
     19493a0 Follow ghc-prim changes
     9018422 Trailing Whitespace
     2b50f31 Fix return type of hs_popcntX
     b0be190 FIX BUILD on 32-bits
     dcb2d63 Add a data type we can use to box up equality evidence for -XConstraintKind
     0706002 Break the GHC.Generics / GHC.Types import loop.
     6c9c37f Update imports
     b685745 Fix build on Windows
     97bf1c5 Don't export gcdInteger, lcmInteger from GHC.Integer
     cd4d0fb Add NOINLINE pragmas
     77d0c63 NOINLINE a couple more functions
     c9b1dee Import GMP-only functions from a GMP modules
     9935359 Export GMP-only functions from the Internals module
     5480b00 Eliminate the orphaned Enum Integer instance
     61cd1df Move some Enum helpers into GHC.Enum
     19c467e Give Word a proper Show instance
     680c1a9 Define mkInteger
     f9dad24 Define mkInteger
     ee727e8 Don't define our own list type
     d02622a Define mkInteger
     5a195cc Merge branch 'master' into tmp
     c9b4d05 Use the Ratio constructor for toRational from Int/Integer
     8266f5f Whitespace only in Text.Read.Lex
     0eafdcd Be more efficient reading fractional literals
     2d17a5c Fix #5436 by using 'recover' on handle EOF
     9286e3b Don't try to detect iconv or libcharset if we are on Windows
     c0e43d4 Break the GHC.Generics / GHC.Types import loop.
     c8d544e Merge branch 'fix#5464' of /home/staff/magal101/repos/ghc/libraries/ghc-prim into fix#5464
     8aedaae Untabify cbits/float.c
     72de218 Eliminate intermediate overflow for encodeFloat, fixes #5524
     7f72975 Removed pointless rule (realToFrac :: Int -> Int)
     661f19f Whitespace only in GHC.Show
     5d0d46b Fixed documentation bug
     8473017 Fixed mistake in documentation and a typo in a comment
     cdca0c4 Change haddock for encodeFloat, fixes #5525
     e885907 Fix fromRat' and fromRat''
     8005148 Explanatory comments
     0101c91 Use Rational constructor if numerator or denominator is 1
     34cd5f1 Eliminate unnecessary shift and reorder branches in fromRat''
     41841f6 Align arrows
     3db78d1 Whitespace only
     6107984 Fix typo in error message
     78885e5 Merge /home/dafis/GHC/bghc/libraries/base
     ec96cd6 Remove now unnecessary helper function
     0d4c9cd Minor: replace undefined uses with error as mentioned in ticket #5532
     6871fa9 Improve performance of the unpack loop
     4d47404 Combine two calls to 'ord' (seems to be just slightly faster)
     817c4e1 Remove the Show superclass of Num
     0a40540 Remove the Eq superclass of Num
     6557680 De-orphan the Show Integer instance
     77edace 80-columnify
     d27da47 tweak unpack/unpack_nl to generate better Core (#5536)
     43f5377 Merge branch 'master' of mac:ghc/git/val32/libraries/base
     e84f5b1 remove erroneous '::' in NOINLINE pragma
     4791ff8 Fix build on Windows
     4b46bbd fix cross-ref to "Catching all exceptions" section (#5546)
     28cfbf3 update ref to deprecated function forkIOUnmasked -> forkIOWithUnmask (#5546)
     f878f1b update IO manager documentation (#5547)
     ffe2f8d If an assertion fails, through it rather than a deeper error; fixes #5561
     f2ef82e Export constructors for Foreign.C.Types and System.Posix.Types newtypes
     ac3ddf2 Fix error in KQueue caused by changes to FFI import requirements
     cd6a715 Warn about ArrowLoop instance for Kleisli Arrows
     c9dceb6 Update base for new Safe Haskell design
     378dd29 Update base for latest Safe Haskell.
     4b1de9f GHC.Stats: Use camelCase in public APIs
     e2df98c add laws to class documentation
     d8633ce Add pure traceEvent and re-export from Debug.Trace
     201a47c Update Debug.Trace haddock docs and rename putTraceMsg to traceIO
     2043afc Avoid using iconv for the locale TextEncoding if we can help it
     de77751 Be more forgiving about encoding name capitalization/hyphenization
     f2067ca Fix build on Windows
     c7c9db4 use MVar to define fixIO, for thread-safety (see #5421)
     ab0d93c addDependentFile #4900
     eeae7d3 add unsafeFixIO (#5421)
     c7e5902 export flushAllHandles (#5594)
     f1c593e Add unsafeShift to Data.Bits
     2766f50 export tyConName, tyConModule and tyConPackage; deprecate tyConString
     9ac6337 fix typo
     1422568 Make dataToQa work regardless of the set of in-scope names (fixes #4491).
     53be8c8 Add GHC.PArr.PArr to break a cycle in compiling Data.Array.Parallel
     59ecd68 Add "dropWhileEnd", as discussed on the libraries list
     b550077 Make the fileSystemEncoding/localeEncoding/foreignEncoding mutable
     8019a64 Go back to using private-use characters in roundtripping
     bf9d5a3 Follow GHC build system change to the way we call rm
     31159cb Move CPUTime001 here from testsuite/tests/lib/CPUTime
     2b0adbd Remove some comments about interfaces being checked against H98
     7e26078 Move lib/Char tests from testsuite to base
     90e8b87 Move testsuite/tests/lib/Data.Fixed test to base/tests
     7593ffd Move testsuite/tests/lib/Show to base/tests
     1a9b04d Move testsuite/tests/lib/Numeric to base/tests
     d1fa09f Whitespace only in tests
     0f386a8 Move hash001 to base/tests
     56d233a Whitespace only in hash001 test
     1627bf0 Move lexNum to base/tests
     1303b93 Whitespce only in lexNum
     d7d45de Move Data.List tests to base/tests
     180933b Whitespace only in tests
     b855aef Move ix001 to base/tests
     baf68bf Move lib/System tests to base/tests
     a4a686d Whitespace and modernise some tests
     5a0b1a4 Move ioref001 to base/tests
     d45fd80 Update system001 output
     8395104 Fix compilation error on windows.
     7361c6c Rules for powers with small exponents (fixes #5237)
     513cc84 Eta contract 'PArr' synonym
     6962aa8 Add a C wrapper for gettimeofday
     ab5fa6c Remove some unused functions from include/HsBase.h
     7b421c6 Simplify some CPP
     ff20d57 Make a wrapper for getrusage; part of #5480
     73c4ff5 Convert come FFI bindings to use the capi calling convention
     ddc0d28 update to track changes to CCCS in the RTS
     135680b Add a way to get hold of the current call stack
     6bf8991 Use capi some more (part of #5480)
     227e13c Use capi to define the fcntl FFI imports
     ab256d4 Use utf8 when decoding cost centre strings
     02066df Expand the stack-tracing API
     463b609 Add traceStack :: String -> a -> a
     8c981c2 Change the layout of stack traces
     4ec5661 Track changes to the way we reference CCCS in GHC (was: W_[CCCS], now: CCCS)
     631796d Add source locations to call stack entries.
     fda7675 Use the mingw touch program on Windows
     e4c9384 Roll back the sigset capi changes
     52abc41 doc update: mention -fprof-auto-calls
     20007f5 renderStack: reverse the stack trace (most recent frame first)
     637d791 add setNumCapabilities :: Int -> IO ()
     5789042 Add getNumProcessors :: IO Int
     7855f10 Fix typo
     95f330f Remove GHC.Exts.traceEventIO
     77da470 Document that -T RTS flag is necessary.
     66f4b10 Merge branch 'master' of http://darcs.haskell.org/packages/base
     5fb9dee update documentation for getNumCapabilities and setNumCapabilities
     c0e32a3 Re-export Constraint from GHC.Exts
     d5ead92 Export "readEither" and add "readMaybe".
     914da19 Merge branch 'master' into type-nats
     9697def Remove all but the basics from the GHC module.
     3b281a2 Change the representation of singletons from Integer to Word.
     da8f3c4 Export setNumCapabilities
     800f575 Removing the MonadGroup class. This is to reflect the removal of the default grouping clause from the SQL-like comprehension notation ;
     4b60b56 Add <> as an alias for mappend
     5572345 Merge remote-tracking branch 'origin/master' into type-nats
     3af923c Moved the instances from Control.Monad.Instances to GHC.Base and Data.Either
     139d27a Remove Num superclass of Bits Add and export bitDefault, testBitDefault and popCountDefault from Data.Bits.
     a9e976c Use sharing in the Alternative instance of Maybe
     db94d0f Expand num009 to test more values, and add mingw32 output
     a63257f Added missing Functor, Applicative, Alternative and MonadPlus instances Added Applicative and Alternative instances for ReadP and ReadPrec Added Functor, Applicative, Alternative and MonadPlust instances for ArrowMonadx
     e3467bd Foldable typeclass: make foldl' and foldr' class methods; fixes trac #5538
     03246bf Merge remote-tracking branch 'origin/master' into type-nats
     f948f83 Change extension name to match current GHC head.
     e184fcc Rename GHC.TypeNats to GHC.TypeList, cleanup, add type-level strings.
     299f286 Add some rules; fixes #5767
     acdd956 num009 now only fails on OS X i386, not OS X amd64
     b2100a2 Export addDependentFile from Language.Haskell.TH.Syntax; part of #4900
     ca85ca0 Updated to a newer version of gmp; fixes #5810
     5c56453 Move Text.Printf tests from testsuite; part of #1161
     86141a3 Fix the data constructors for tuples etc that dataToExpQ builds
     ad42fd9 Bump base's version to match 7.4.1's
     30c0c02 Merge remote-tracking branch 'origin/master' into type-nats
     5a16507 System.Environment: improve 'getEnv' doc to mention closest 'setEnv' we have ('System.Posix.putEnv')
     11f108b Fix bug in popCountDefault. Fixes #5872
     529a4cc Use the new quotRemInt# primop
     04a8206 Fix documentation of minimal complete definition of Bits instances
     4532045 Define a divModInt function that only does 1 division
     d7f6d0c Merge branch 'master' of http://darcs.haskell.org/packages/base
     7b93b2c Add CTYPE pragmas
     cea77c1 Add CTYPE pragmas for GHC types
     291633f Use throwIO rather than throw where possible This makes exceptions more predictable.
     f38789e Eta expand unsafeCoerce and add a pointer to the Note
     9d60296 Merge branch 'master' of http://darcs.haskell.org/packages/base
     e757f8e Use the new unsigned quotRem primop
     11c4880 Fix build on 32bit platforms
     a359804 Remove Control.OldException
     f016aa1 Minor Haddock documentation fix
     142bfae Redo the sigset capi changes
     3da3890 Convert some more declarations to use the CAPI
     38799c7 Change CSigset into a (empty) datatype
     d5fa875 Fix an FFI decl: it should have been using capi but was using ccall
     e0db134 Remove an unsed definition in HsBase.h
     702891c Convert some FFI bindings to use "value" imports
     9ba5344 Remove some unused code
     7ca5621 Remove another unused definition
     e416596 Use CAPI for lseek
     31521d1 Move nocldstop from HsBase.h to HsUnix.h
     b677224 Remove some __HADDOCK__ CPP
     62a506d Move chr's definition into a new GHC.Char
     f40aa90 Remove some redundant imports
     ba5bea9 Refactor number lexing; part of #5688
     1752a9b Rename lexNum test to lex001, and expand it
     fbfa8f4 Add a test for reading Doubles
     198c93e Change how NaN and Infinity are read by lex
     81b6141 Add a readInteger001 test
     ba85754 Make "100e12" not parse as an Integer; part of #5688
     63fedc7 Update .gitignore.
     f252b20 Update .gitignore.
     6d0454a Update .gitignore.
     7e84795 Copy tests from GHC testsuite; part of #1161.
     533bcf0 Avoid making huge Rational's when reading Double/Float; fixes #5688
     5c1c24f Sealed writeChan with mask_ to prevent a theoretical bug
     588c08d Merge branch 'master' into type-nats
     ae75915 Add strict versions of modifyIORef and atomicModifyIORef
     6f72869 Add fixity declarations to Template Haskell (Trac #1541)
     e1f950f Update gitignore
     2638e80 Merge branch 'master' into type-nats
     b058d97 Updates to type-literal support.
     064dc4a Win64 fix
     3fb8c43 Fix building libgmp on cygwin
     50005fa Merge remote-tracking branch 'origin/master' into type-nats
     eec29e9 Merge remote-tracking branch 'origin/master' into type-nats
     bd77f37 Fix typo in Data.List.(\\) documentation
     a732476 Add some useful functions for working with type literals.
     a218b90 Merge remote-tracking branch 'origin/master' into type-nats
     3b8f092 Fix the type of IsEven
     cf67512 Revert IsEven to the way it was.
     bbcf397 change unsafeDupableInterleaveIO from INLINE to NOINLINE (#5943)
     670eaf2 add test for #5943
     86330a3 Merge remote-tracking branch 'origin/master' into type-nats
     077ba3c Ensure hGetBufSome does not cause potentially blocking reads (#5843)
     ce96c14 Fix compilation under LLVM backend. (#5965)
     c899071 Fix an egregious bug in the fingerprint calculation for TypeRep
     b1d51d3 Test Trac #5962
     ef9e348 Rename parAvgBytesCopied to parTotBytesCopied
     0f1f0d9 Rewrite to use just one notion of singletons.
     c07266e Whitespace only: convert mixed tabs and spaces to spaces.
     75efe3c Add System.Environment.lookupEnv (#5930)
     3019319 Add testcase for #5930.
     f0e9b2b bugfix: use forkIOWithUnmask rather than forkIO
     0b2923a add "Portions obtained from hbc (c) Lennart Augusstson" (#5963)
     52d43ff move mkWeakThreadId to GHC.Conc.Sync; export it from Control.Concurrent
     3b047ba doc tweaks
     b297a1f Add GHCi monad
     6ea5981 Revert "Add GHCi monad"
     386d3e2 Use monotonic time in Event/Manager.hs.
     666bba8 Define monotonic time function for Darwin.
     1fd0c2e Replace getUSecOfDay with monotonic timer (#5865)
     22307c1 Add timer initialization for darwin.
     5779768 Remove hardcoded mangling of the n_capability symbol (#5864)
     91af2e9 Add GHCi monad. Experimental for now.
     9949004 DEPRECATE Foreign.Marshal.Error.void (use Control.Monad.void instead)
     e119fe8 Don't include sys/timeb.h on FreeBSD.
     d5a3d79 use mkWeakNoFinalizer# (#5879)
     7719344 Fix openFile003 for Win64
     9c11265 Add a type-family for comparing numbers.
     48c1949 Remove old test outputs
     a436735 Fix some more tests on Win64
     56b05f1 system001 test is expected to fail on Win64
     89e9295 Tidy up the ThreadDelay001 test code
     4100b75 Fix an off-by-one error in freeProgArgv
     8dda2df Use IORef/atomicModifyIORef instead of STM
     c031aec Use RTS version of getMonotonicNSec on Windows (#6061)
     9cb3d36 Use in-process file locking on Windows (#4363)
     4631489 Fix build.
     a75c1be Modify 'SingRep' to support arbitrary singleton types.
     e88cf25 Update to support singleton types with custom implementations.
     5176c1f Don't use stdcall on Win64: It isn't supported; ccall is used instead
     27e4036 Add INLINABLE pragmas in Template Haskell
     58898eb Change TH syntax to allow promoted kinds and kind polymorphism
     cf14ed6 Change a few FFI imports to use CAPI
     6fcc554 Remove some unnecessary Int specialised values
     c2f6f89 Remove some commented out code
     5fdb0b5 Remove some more specialise-Int code
     c06e2a4 Use Word literals directly, rather than converting Int literals
     fda6ab9 Move the Word type from base to ghc-prim
     312bd1c Move the Word type from base to ghc-prim
     a48be46 Abstract out a Ppr Inline instance
     0eacc7f Use expect_broken rather than expect_fail in testsuite driver
     93ac54f Fix typo in documentation of GHC.Exts.groupWith
     5a3489f Update documentation of intersectBy
     70d4e93 add mkWeakMVar; deprecate addMVarFinalizer (#6130)
     797a829 Re-export Fingerprint in Data.Typeable.Internal.
     3bcff29 Make Sing kind-polymorphic
     4546adb Refactor findTempName: factor out file creation.
     53184fb Allow openTempFile to retry when it hits a directory (#4968).
     11b4bad add forkFinally
     e9f1000 Fix warning.
     bde4a84 add tests for deadlocks in readChan & writeChan
     35d42ee add modifyMVarMasked, modifyMVarMasked_
     3425c77 fix another theoretical deadlock bug in the Chan implementation (c.f. #6153)
     33416a2 omit the profasm way
     cbad295 Add GHC.IP for the new implicit-parameter story
     1befc19 Fix typo; spotted by Gabor Greif
     4276992 StringPrimL now takes [Word8]
     c41ac8f Add GHC.Stats.getGCStatsEnabled function (#5846)
     14c4cd0 Re-export forallC in Language.Haskell.TH (#7009)
     b32d4e0 Export ForeignPtrContents in GHC.ForeignPtr (#7012)
     b08c092 Remove Prelude.catch and System.IO.Error.{catch,try}
     f1d3c29 Move divInt#/modInt# to ghc-prim
     e6594eb Move divInt#/modInt# from base
     1bb3a57 Use divInt#/modInt# from ghc-prim
     c15b549 Use divInteger and modInteger
     fb66613 Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/base
     f83d3df Add divInteger and modInteger functions
     36a2a5c Fix typos
     c4b81e3 Bump base's version
     b8d7b8f Update tests following changes in base
     f8b272a Use CLong, not CInt, for mp_bitcnt_t value; fixes #5965
     827dab9 Use round-to-even when formatting floats (#5963)
     3bac25f Move GHC.Generics to base
     d0a3eef Move GHC.Generics to base
     f0234bb Deprecate Control.Concurrent.{QSem,QSemNSampleVar}
     9785fb9 Split a pragma into for better warnings
     0a76803 Add System.Environment.getExecutablePath (#7029)
     f190e2d Add missing imports.
     54c62c0 Deprecate the Data.HashTable module
     ec77f50 Fix parsing of RealFloat with huge exponents (#7034).
     c8a8b06 add some UNPACKs to improve performance a bit
     9e3fb41 Add RatioZeroDenominator to ArithException, and use it instead of error
     8e08f83 Add Functor instance for Handler (#7047)
     fc3edb4 Adapt to removal of catch from Prelude
     658e926 Add strict version of modifySTRef
     5e72463 Bump version to 0.3.0.0
     72ec1df Bump version to 0.1.0.1
     b9c580c export the constructors of ForeignPtrContents too
     657153a Add alignment-restricted ForeignPtr allocation actions
     c888396 fix warnings
     e5629b9 Tweak RULEs; fixes #7041
     e6bc6b7 Add another gcdInteger rule
     47f0fd5 Remove a workaround for building with old GHCs
     219c653 Added lambda-case support.
     73c36bc Added multi-way if-expressions support.
     d27c454 Add documentation for Template Haskell functions
     18d48b4 Remove Language.Haskell.TH.Syntax.Internals
     dccb90a Add reportError and reportWarning to TH
     2ccf50a Reorganise the Language.Haskell.TH export list, so that it Haddocks better
     1116d7b Add comment to GHC.Exts.
     2c3a43d Move Down to Data.Ord (#7077)
     4b0ccf8 Move some rules into PrelRules
     52f7fa8 Simplify how gcd @ Int is implemented
     69bacb8 Simplify how gcd @ Int is implemented
     48987c1 Bump version to 0.5.0.0
     fbf73d9 Bump version to 2.8.0.0
     3bf0816 Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/base
     94c6921 Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/integer-gmp
     9557f5f Remove some deprecated modules and functions
     5428d11 Remove hash001, as we no longer have Data.HashTable
     13631d0 Remove tests for removed modules
     9f0eca5 track integer-gmp and add 'divInteger', 'modInteger'
     ff06b84 Make numeric rules builtin.
     ac50935 Port more primop rules to PrelRules.
     de7d4e9 Fix inline rule shadowing warnings
     d19e3e0 Merge inline rule warning fixes
     855ef73 Document that a FinalizerPtr is a pointer to a ccall function (#5254)
     290310c Whitespace only: Line some things up better
     54fccb5 Use testBitInteger; part of #3489. patch from pumpkingod at gmail.com
     55df44b Define testBitInteger; part of #3489
     fb83206 Define testBitInteger; part of #3489. Patch from pumpkingod at gmail.com
     0ebac5b Fix building on Windows
     3b3eb7d Refer and link to Haskell 2010 report in Prelude.
     86ba770 Make startProfTimer and stopProfTimer available via GHC.Profiling
     8dbc583 Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/base
     5682cac Fix build
     7e01e07 Comments ony
     9bd314e Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/base
     935a043 Pragmas refactoring. Also adds RULES and 'SPECIALIZE instance' support.
     120bd32 Fix Trac #7146, by displaying a "\n" in a multi-line string
     2df687f Merge branch 'master' of http://darcs.haskell.org/packages/base
     b3ef645 Improve definition of forever (#5205)
     889ff4a add errorWithStackTrace
     daa75ea Remove finalizers from a ForeignPtr atomically (#7170)
     833ba65 add pointers to Data.STRef and Data.Array.ST (#7182)
     0b14849 add eqStableName :: StableName a -> StableName b -> Bool
     0d280e0 fix typo
     ea9570d Add missing instances for (<=)
     20130c0 Fix a typo; spotted by Mikolaj Konarski
     86f4eb5 Fix build; GHC.Constants is now empty
     7f7c9ed In the Template Haskell pretty printer, don't call error
     e6b690d Remove deprecated functions from Data.Data
     c89b5a1 Remove GHC.IOBase
     520b2dd Remove GHC.Handle
     4f03d11 Follow module removal in hDuplicateTo001 test
     39b9f94 Add a big warning to the documentation for Weak (#7250)
     925782e Add bitSizeMaybe to Bits, and add FiniteBits class
     a9ecd61 Deprecate bitSize
     02998bd Add unary natural numbers to experiment on matching with literals.
     e801dcc Merge remote-tracking branch 'origin/master'
     0978d64 FIX #7263: derive Eq, Show, and Read for GHC.Generics representation types
     4aa8bc1 Adapt to NetBSD's struct kevent
     e2fec97 FFI wrapper for kevent()
     cdf4d62 Adapt to new Cmm syntax
     6097a94 Add Debug.Trace.traceMarker/traceMarkerIO
     2ea50a1 Use CAPI to make the C wrapper for kevent
     d0b9ed0 Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/base
     1851a2f Update library to avoid using `Any` (also, replace fun-dep with type fam.)
     0422ada Add CApiFFI to the extensions used by GHC.Event.KQueue
     021a0f9 Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/base
     e9ab31d Remove out-of-date docs about Prelude.catch; fixes #7348
     cbfc632 move fromRational into rationalToFloat/Double
     636894f fix type mismatch in result of integer_cmm_testBitIntegerzh
     1e1c03f remove deprecated pragmas (eliminating warnings)
     3c083fa ErrorCall should be a newtype, and derive Eq/Ord
     6f847e9 Fix #7233: avoid overflow in divInt64#
     a66b6ff Make sure testBit and bit get inlined; fixes #7292
     6f32757 Handle UTF8 correctly in GHC.Conc.labelThread; fixes #6010
     57f6591 alpha-rename the type signatures of foldl, foldl', and scanl to be consistent with foldr and scanr
     fda3002 Remove commented types in module export lists
     123ba5e More type signature improvements from Bas van Dijk
     9e9c6eb Remove GHC.Read.readp
     0ec659d add Traversable laws
     f5dee98 Replace Rank2Types with RankNTypes
     7fa0073 Merge branch 'master' of http://darcs.haskell.org//packages/base
     9a1890d Fix Haddock formatting in Control.Exception
     29f4ac8 Use nicer type variables in foldlM's type sig
     14bad9a Declare a family for subtraction.
     56c8e93 Merge documentation from inline's old primop entry
     10a586e Move lazy from GHC.Base to GHC.Magic
     ce67249 Move lazy from GHC.Base to GHC.Magic
     e83b6cd Improve the Prelude doc header; part of #7108
     fff4dbd Fix a typo
     6db976d Change a commonet not to refer to the Haskell 2010 report in particular
     0edcea0 Improve a comment
     7dd230f Update some H98 references to refer to H2010
     7be5177 Remove an out-of-date comment
     1e41f1b Update a H98 reference to H2010
     a651570 GHC.Windows: more error support (guards, system error strings)
     5879d5c Add module header with some external links
     5ea5b52 typo
     87e61d8 Add a test for #6026 (fixity info for primops)
     df67010 Update haddock now that we can derive Generic1 (FIX #7444)
     5142bc2 Add dataCast* definitions to Ptr/Array Data instances; fixes #7256
     00ea200 typo
     a532c91 Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/base
     1cce322 Add comment to .cabal file saying what GHC 7.6.1 shipped with
     415a26a Add comment to .cabal file saying what GHC 7.6.1 shipped with
     5e20e4e Add comment to .cabal file saying what GHC 7.6.1 shipped with
     f389e29 Add comment to .cabal file saying what GHC 7.6.1 shipped with
     7498923 Add comment to .cabal file saying what GHC 7.6.1 shipped with
     cfa1da9 Bump version number following new policy
     1998210 Bump version number following new policy
     b14ec9c Bump version number following new policy
     a81e2cf Bump version number following new policy
     67bb9e6 Bump version number following new policy
     ca327c2 Bump base lower version to 4.5 (the version GHC 7.4.1 came with)
     954ef66 Add newFilePath to System.Posix.Internals
     4ab3d16 Added threadWait functions to wait on FD readiness with STM actions.
     c0032c0 Added the unregistration command to the return value of threadWait*STM functions.
     32c3f2e Fix warnings
     4bd0fa9 fix #7479: ArrowChoice unit law in doc comment
     84a989b Remove trailing whitespace in GHC.Base
     43a383f Worker/Wrapper and static argument transform for `until` so it can be inlined
     c10a1b8 Add word2float
     756a970 Make a class for asynchronous exceptions in the exception hierarchy
     2f32d1d Add back new working QSem and QSemN implementations (#7417)
     c8db4bb getNumCapabilities should read enabled_capabilities (#7491)
     22e5fc3 qsem001 and qsemn001 fail in HEAD: #7497
     65d4f18 GHC.Event.IntMap.highestBitMap reimplementation
     ec335ed fix qsem001 & qsemn001
     5f6551b unbreak qsem001/qsemn001
     703b5cf highestBitMask: use shiftRL instead of shiftR
     a18cf9c Add fromIntegral/Word->Double and fromIntegral/Word-Float rules
     d369ae5 zap obsolete FIXME, fix typos
     7a6ddb8 remove unnecessary STM import
     e1779a7 Define GHC.Read.expectP and Text.Read.Lex.expect
     73730c5 Implement overlapping type family instances.
     875beaf Add functions that compare singletons for equality (with evidence)
     5d60827 Merge branch 'master' of http://darcs.haskell.org/packages/base
     f251bf5 Make sum and product INLINABLE
     d7b5f52 GHC.IO.Buffer: use memmove instead of memcpy in slideContents
     0862dcc BufferedIO: fix bug in writeBufNonBlocking introduced by commit 7d39e100
     5e3aec6 Expose Data.Fixed.Fixed's constructor
     0921387 Provide a way for OS X users to indicate a preference for the GMP framework
     d0a0ca7 Fix configure when we don't have a gmp library
     f6ee55a Clarify the wording of the 'insert' haddock; fixes #7421
     5f19f95 Fix Data.Fixed.Fixed's Read instance; fixes #7483
     e68158a Remove unused import
     ccb16c1 Comment out IsEven, isEven, and friends, because the type is ambiguous
     104aeb7 Merge branch 'master' of http://darcs.haskell.org//packages/base
     b0d27b9 Expose new threadWaitSTM functions in Control.Concurrent (see #7216).
     f54bc5f Fix warnings
     753e3e3 Fix ambiguity error on Windows
     8564b7f Fix warnings on Windows
     6c0743c Add Generic instances to GHC.Generics representation types
     171f638 Possible fix for detecting Float/Double
     bd0faf7 Use the RTS getMonotonicTime to implement getMonotonicNSec; fixes #7299
     946a2d1 Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/base
     c0d723e num010(ghci) is broken on OS X 32 (#7043)
     94e6d7d Removes the assumption that CLK_TCK is a constant (#7519)
     52f5545 integer-gmp: improve cross-compiling support GmpDerivedConstants.h
     edbc826 Rename tests to not start with a digit
     71221e2 Grotesque hack on Unsafe.Coerce
     f9d7045 Merge branch 'master' of http://darcs.haskell.org//packages/base
     38c54bd Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/base
     2cd5138 typos
     23517de Rename some numeric tests: nnnn -> Tnnnn
     64a6151 Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/base
     8768356 typos
     7a49a34 Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/base
     916be61 Revert "integer-gmp: improve cross-compiling support GmpDerivedConstants.h"
     2ae4bcb Fix an 'if windows' test to cover Win64 too
     07e79f5 fix negative numbers for * modifiers (#7457)
     c0e390f tabs -> spaces
     7291418 add test for #7457
     1cc5c9c Use capi for mkfifo, tcsetattr and tcgetattr (for Android)
     c7751c4 some more typos
     49cb749 Release the FD lock before calling close() (#7646)
     8129652 Remove the reliance on relative accuracy of short delays (#7656)
     33d92b5 typo
     2915195 Remove a redundant pragma
     389fdc8 Follow testsuite changes
     53f56f1 Fix detection rule to classify types as non-floating-point
     1b91e70 Never try to use the system gmp on Windows
     e98090e Fix GMP_PREFER_FRAMEWORK
     3743eb5 Follow changes in the testsuite
     be78f48 Follow changes in testsuite
     0419c95 T3307 and environment001 just fail on MSYS
     2e86f4f Resolve issue #7482 by removing the ability to create a new event manager.
     298f0db Remove functions to step the system io manager in preparation for parallel io manager changes.
     9a703bd Minor refactoring in GHC.Event.Thread to prepare for supporting per-capability IO managers.
     e963524 Refactor by introducing a boolean argument to newControl to determine whether the files created for a Control instance are registered with the RTS IO manager hooks.
     38548ef Separated the IO manager into a timer manager and a file IO manager.
     bd94982 Specialized the TimerManager by removing the file monitoring support.
     08e4e15 Removed control registration flag from Manager and TimerManager new functions.
     3b911f5 Removed timer related features from Manager.
     e5ad3fb Use one IO manager per cap.
     be776ba Lock stripe the callback table in the IO managers.
     0f8d659 Added support to backends for non-blocking poll() call.
     107e81c Modify per-capability IO manager poll loop to avoid blocking (and context switching the OS thread) when the poll loop is heavily loaded.
     18edb87 Allow backends to provide a command that register interest for an event source for exactly one event, and implement epoll implementation of this command.
     d584d8a Apply the epoll backend design (separate polling from registration) for the KQueue backend.
     3d1b61f Added support for modifyFdOnce for the KQueue backend.
     77fd94d Minor refactoring to simplify unregisterFd_ in Manager.
     edb6543 Refactor to handle activity on control files as special case.
     8db9ad8 Manager takes a flag that indicates whether it should de-register a file registration once it has received a callback.
     adb5618 Minor clarification in registerFd_.
     8cf7592 Minor simplification of calculation of new and old events in registerFd_.
     778795d Implemented optimized registration and callbacks for the case when oneShot flag is set in Manager and the backend is KQueue or EPoll.
     3bc0661 Wakeup is a no-op for KQueue and EPoll-based IO managers.
     dd48974 Use poll backend for TimerManager.
     de01f22 Use eventfd_write to write to wakeup eventfd in Control.
     341296f Remove unnecessary import.
     e09e561 Remove UNPACK statement to eliminate warning about unusable UNPACK.
     0df14e3 Added ioManagerCapabilitiesChanged function that is called from RTS to notify the IO manager that the number of capabilities has changed.
     dd54a09 Introduce IORef to refer to array of IO managers.
     cbe5c98 Replace use of numCapabilities with getNumCapabilities.
     adebaa4 Minor refactoring: pass eventManagerArray to startIOManagerThread.
     12f3fef Parallel IO manager supports increasing and decreasing number of capabilities.
     d55070b removing trailing white spaces.
     17b10ca preventing warnings.
     99f5738 Making KQueue compilable.
     1de63c7 renaming EventQueue to KQueue.
     0fdb3fb Renaming QueueFd to KQueueFd.
     bedbb20 renaming parameters.
     65309d8 Making KQueue.poll similar to EPoll.poll.
     a691b2d minor refactoring.
     63981cb refactoring with guard.
     3c0dab5 Improve comment on GHC.Event.Manager.closeFd_.
     de9b01b Added missing wakeup in GHC.Event.Manager.closeFd_.
     cca34b9 Avoid use of backend modifyFdOnce in Poll backend in unregisterFd_.
     1025c8f Change GHC.Event.Manager.closeFd to unregister interest in the file with the backend.
     f500a2f Update closeFd_ to avoid unnecessary backend modifications.
     1956ce5 closeFdWith closes fd after unregistering the fd with the backend.
     54b00a7 Tidy up GHC.Event.Thread.closeFdWith.
     62c2749 closeFdWith invokes callbacks only after the fd is closed.
     50e65e1 Undo recent change to the type of GHC.Event.Thread.getSystemEventManager and update the commentary on this function.
     e88c6ef Avoid conditional compilation in GHC.Event.Manager.
     cd924e9 Fix wrong type in FFI call to eventfd_write in GHC.Event.Control.
     5b81a90 ioManagerCapabilitiesChanged takes no arguments and instead gets the current enabled number of capabilities by executing getNumCapabilities after it acquires a lock on the IO managers array.
     f0d1822 Use (.&.) instead of mod in GHC.Event.Manager since the modulus is a power of 2.
     cbe3c39 Add some commentary in GHC.Event.Manager to the explain the poll loop.
     f182e7d Added UNPACK to emLock in GHC.Event.Manager Manager datatype.
     7af45da Added NOINLINE directive to the numEnabledEventManagers IORef in GHC.Event.Thread.
     c9ca90d Removed unnecessary import from GHC.Event.Thread.
     2abd38c Eliminate use of kevent64() calls.
     d8b94b3 Workaround buggy kqueue on os x.
     5186ffc Removing unnecessary trailing spaces.
     ebf3787 Adding a comment about the workaround of the parallel IO manager on Mac.
     aceb3e8 Fix bug that caused ghci to create a large number of kqueues and pipes on OS X.
     4a80762 Merge the new parallel I/O manager
     3d53407 Implement poly-kinded Typeable
     586f5a2 Only run dynamic004 with optimisation
     fb639c6 Export Proxy from Data.Typeable
     c301c61 Add isNewtype to GHC.Generics (FIX #7631)
     65cd1c0 Change rules for RealFrac methods to pointfree, so that they can also fire in pointfree use.
     90c9c83 Make 'length' into a good consumer, fixing Trac #876
     6e04f05 Use fromException instead of cast when matching exceptions
     9d604f8 base: use --host as target, not uname
     cc650e1 enable memo001/memo002 when fast
     a3f1fd1 Remove uses of compose(s) in tests
     98949ab Add the IsList class, for OverloadedLists
     ab1d58b Merge branch 'master' of http://darcs.haskell.org/packages/base
     25d1eaf Remove nhc98-specific files and content
     36f2d30 Mark DEPRECATED pragmas with when they were added
     c3470c1 Remove DEPRECATED pragmas from a couple of tests
     a34f677 Remove some things deprecated since GHC 7.2
     309c3a3 Give Control.Monad.Instances a proper DEPRECATED pragma
     631a65b Merge branch 'master' into rule_fixes
     b7fc72b Define Functor instances for ArgOrder, OptDescr and ArgDescr
     e6f1209 Remove a redundant backwards compatibility hack
     b5c9939 Remove some always-true CPP tests from System.IO.Error
     309d4f1 Add "deprecated in" comments to deprecated pragmas
     d58baf9 Remove block and unblock (deprecated since GHC 7.0)
     6fc6859 Remove blocked (deprecated since 7.2)
     b641227 Fix documentation
     7115def Typo
     fae4967 Merge branch 'master' into rule_fixes
     8ca03bc Remove some functions deprecated since GHC 7.2.
     8ff2942 Follow changes in GHC's build system
     197125f Use correct type for poll on Mac/FreeBSD, fixes ticket #7714.
     0e1b9bd integer-gmp: mpn_gcd_1 allocate one Word on stack instead of 'sizeof (__mpz_struct)'
     baa7eca Fix typo
     90d1d92 Don't just fail if hGetBufSome is used on a non-FD: fall back on the slow path instead
     69a8c2d Fix #7522 by checking for empty byte buffers a little more
     3900186 Add test for #7522
     740bee7 md5.c: fix a typo in the size argument of memset
     3302951 throwTo is interruptible.
     1e2e013 Build system refactoring
     408998f add test for #7719
     46548f7 Fix System.Timeout.timeout leaking Timeout exceptions (#7719).
     7a3131e Implement faster System.Timeout.timeout for the threaded RTS.
     7fadc60 Build fix for iOS; fixes #7759
     424c7f2 Fix warnings
     0b79c32 Add some more Data.Functor functions; fixes #7817
     e3e9ada Add Debug.Trace.{traceId,traceShowId,traceM,traceShowM}; fixes #7626
     6e06881 Fix #7853
     f178826 Test fix for #7853
     4eb3193 Improve documentation for mkTextEncoding
     fd6fb7c Add isLeft/isRight
     557a9a8 Fix build on Windows
     8a6e132 Fix build when gmp isn't installed
     c5a4de9 Update parallel IO manager to handle the invalid files in the same way as previous IO manager.
     592e4ae Derive Typeable for RealWorld and (->), now that we can
     2216b89 Support for Windows DBCS and new SBCS with MultiByteToWideChar
     802e99a Add comprehensive test for codepage encodings+recovery for them
     d238ea4 Handle dependencies for .cmm files properly
     14233fc Omit T7773 on Msys
     aba043a Fix build order when building with integer-simple
     52719ad Fix build
     9905899 More build ordering fixes
     06bc377 More build fixes
     d77b3a0 Another build ordering fix
     f47ea8e Add an __hsbase_ prefix to the MD5 symbols (#7914)
     8abb62b Merge branch 'master' of http://darcs.haskell.org/packages/base
     02b9a24 Add code to convert from representation types, to existentially quantified singletons.
     083a45e Merge branch 'master' of ssh://darcs.haskell.org/srv/darcs/packages/base
     95853c7 Enable PolyKinds for Control.Category.
     822ce01 Merge branch 'master' of ssh://darcs.haskell.org/srv/darcs/packages/base
     3730af0 Revert "Add code to convert from representation types, to existentially quantified singletons."
     cb2f2d4 add Foldable and Traversable instances for Either a and (,) a
     dac845c Redo and cleanup the change replacing `unsafe*` with `toSing`
     de1ae80 Add tests for kind-polymorphic Control.Category
     889b5bb Remove an import loop
     f3c261b Remove some unnecessary SOURCE imports
     8d87b5b Re-jig SOURCE imports
     a8ede1e Revert accidental change
     b3afa0a Make GHC.Err depend on GHC.Integer
     ad6696e Comments
     404327a GHC.Err is no longer a boot module; no GHC/Err.lhs-boot
     4c6faba Fix import warnings
     374fcdd Add an import to fix build ordering
     68288cf Change a use of atomicModifyIORef to atomicModifyIORef'
     55a5f05 Remove uses of RecordWildCards in GHC.Event.TimerManager
     2d5eccd IO manager: Edit the timeout queue directly, rather than using an edit list
     bbf6c02 Add a test for #7653
     c7ef98d Replace all atomicModifyIORef calls in GHC.Event.TimerManager
     f177fdb Use atomicModifyIORef' rather than atomicModifyIORef
     5ae2385 expose new Word operation to swap endianness for Word{16,32,64}
     da7db19 add other architecture for bswap in a form of Stg functions.
     b9138a8 Fix some typos
     72901d4 Revert "expose new Word operation to swap endianness for Word{16,32,64}"
     089c686 One more GHC.Err import eliminated
     7fef22a Clarification what 'atomic' means here.
     3be6101 Add setEnv/unsetEnv to System.Environment; fixes #7427
     9dc3418 Fix a comment
     5257404 Update GHC.ForeignPtr to use addCFinalizerToWeak#
     f2ade3f Fix hClose002 with the threaded RTS IO manager
     4780c7a Fix hSetBuffering004 to work with dynamic ghci
     3508495 Ignore editor backup files
     0ff54be Update to support closed type families.
     44cff44 Fix build on OS X
     3ae1bc4 Run "sh ./configure" rather than "sh configure"; part of #7992
     8f23525 Catch an illegal pragma and fix a typo
     7827f74 fix markup bugs
     5e2a5dc Add a section of documentation about the interaction of threads and finalizers
     e40d433 Update export list for closed type families
     0193f91 Follow GHC build system changes
     5564980 Comparison primops return Int# (Fixes #6135)
     d3fbf77 Derive Show, Eq, Ord, Read for Control.Applicative.ZipList; fixes #5787
     9cf8e57 Add atomicReadMVar to Control.Concurrent.MVar and friends.
     38ff3b4 Implement tryAtomicReadMVar.
     0bb58e2 Fix build.
     9299fdf Rename atomicReadMVar and friends to readMVar, replacing old readMVar.
     c376c26 Minor rewording.
     5a5ff27 Expose new Word operation to swap endianness for Word{16,32,64}
     404c995 Fix #7787
     af04f2b Add test for #7787
     6aaf1e2 Comparison primops return Int# (Fixes #6135)
     66cc86e Fix GHC.Enum on 32bit platforms; fixes #8072
     d8b02c2 Fix bug in IO manager when number of capabilities is changed; fixes #8087
     01aa22b Implement "TypeLevelReasoning" proposal at wiki:TypeLevelReasoning
     e7a9c06 Eliminate Equality.hs-boot and Proxy.hs-boot by moving instances
     0cc90bf Comparison primops return Int# (Fixes #6135)
     ab1791f Remove some redundant warning suppression
     ca8a9f4 Add asProxyTypeOf and Trustworthy pragma to Data.Proxy
     2505aba We need NegativeLiterals for GHC.Int or we get warnings
     bdde811 Mark the roles of Ptr and FunPtr as R, not P!
     649219a Implement roles into Template Haskell.
     eb25664 Comparison primops return Int# (Fixes #6135)
     a57832b Change return type for emulated 64bit comparisons
     f4f5a17 Use primop wrappers instead of tagToEnum#
     c10454d Comments only
     41c3ed2 Comments only
     6170f97 Fingerprint: Add Show instance for easier debugging
     8967959 Fingerprint: Add getFileHash
     920bbbc Fix -Werror failure in GHC.Fingerprint
     527803a Remove trailing whitespace from GHC.Fingerprint.*
     797a368 Comments only
     48a9fbc Fix GHC Trac #8186.
     a6c396b Improve pretty printing for Template Haskell operators
     cc99f64 Fix off-by-one error in the IO manager
     28cf2e0 Switch IO manager to a mutable hashtable
     67c0a98 GHC.Conc.Sync: Pass TSO to stackOverflow
     acac32c length001 passes now
     7df9d83 Fix AMP warnings
     3113270 EventManager: Gracefully handle an initial 'Finished' state (#8235)
     17e2a5c Revert "GHC.Conc.Sync: Pass TSO to stackOverflow"
     6cc1aae Revert "length001 passes now"
     229513b Redo <= with a type synonym instead of a class, add instance for boolean singletons, remove (-)
     a1233f2 Update Git repo URL in `.cabal` file
     8d59148 Update Git repo URL in `.cabal` file
     9a91e51 Update Git repo URL in `.cabal` file
     4abc8d4 Update Git repo URL in `.cabal` file
     a4cad04 Update Git repo URL in `base.cabal`
     fa34409 Add `Data` instance for `Data.Version`
     2a5ac7b Define GHC.Types.Coercible
     acaa1c8 byteSwap16/32: Narrow the result to 16/32 bits
     345c316 Follow changes in comparison primops (see #6135)
     d75ca3b Follow changes in comparison primops (see #6135)
     907cd8c Add Data.Bool.bool (fixes #8302)
     43ece17 Remove Hugs98 specific code
     0f5eae0 Constant-fold `__GLASGOW_HASKELL__` CPP conditionals
     8f9f100 Make `<Typeable.h>` obsolete and refactor away its use
     3b6efce Replaced Text.Printf with extensible printf, and made comcommitant changes
     98a63b9 Support new role annotation syntax.
     0710184 Update use of role annotations to new syntax.
     b549d68 Add `{-# MINIMAL #-}` to `class Eq` and `class Ord`
     1b608a0 Add `{-# MINIMAL #-}` annotations to typeclasses
     2c2ead5 Trailing whitespaces
     937fab7 Follow changes in comparison primops (see #6135)
     a4e9c7e Follow changes in comparison primops (see #6135)
     acb313a Trailing whitespaces
     ad89699 Follow changes in comparison primops (see #6135)
     f65cef6 Comments only
     957511b Add Haddock docs for new `class FiniteBits`
     77f32da Add Haddock `/Since: 4.7.0.0/` comments to new symbols
     2642d9f Add Haddock `/Since: 4.6.0.0/` comments to symbols
     0a5ecb5 Add Haddock `/Since: 4.5.[01].0/` comments to symbols
     40c00af Add Haddock `/Since: 4.4.0.0/` comments to symbols
     2ed1377 Remove obsolete pre-Haddock-2 `#hide` pragmas
     4449dbc Add instance Monad (WrappedMonad m) to Control.Applicative (#8218)
     35d55a6 Add type functions (-) and ToNat1;  Turn FromNat1 into a closed family.
     5e16d00 Add Foldable/Traversable instances for 'Const m'
     1ab2b1f Add fmapCoerce to Functor class.
     a1b56fa Revert "Add fmapCoerce to Functor class."
     ad74a2a Documentation for GHC.Generics
     b857c29 Define typeRep in terms of new Proxy#
     52767f1 Fix comment typo introduced in 6368362f44
     deff0cc Add a few missing `{-# LANGUAGE CPP #-}`s
     a7e09b4 Modernize and refactor `base.cabal`
     a4f36a7 Drop redundant `{-# LANGUAGE #-}` pragmas
     4503466 Remove obsolete `include/Nhc98BaseConfig.h`
     0e33e3c Add `/Since: 4.7.0.0/` to new entities in fc904366
     e864079 Add missing/remove redundant `{-# LANGUAGE CPP #-}`s
     4fe151c Expose performMinorGC (#8257)
     4d51685 Expose new internal exponentiation primitives
     71e2958 Expose GMP's `mpz_gcdext()` as internal primitive
     b3caee6 Fix name of minor GC function.
     a29423d System.IO.Unsafe: cleanup: make unsafeFixIO pseudocode more valid
     47dd3c2 Fix Windows build.
     c949f8b Add TH support for annotations (#8340)
     ccd6d58 Remove all but the basic operations on type-level literals.
     40e7236 Rename someSymVal to someSymbolVal
     add3bae Add fixity declaration for type-level functions.
     29ea943 Add TExp data type.
     4d226b3 Add a method to the Quasi type class that adds new top-level declarations.
     9caca0a Make a TExp a wrap a TH.Exp instead of a TH.ExpQ.
     6b676e7 Add the TExpQ type alias.
     18f2e52 Correctly pretty-print let and do expressions.
     bb89c59 Add support for top-level finalizers
     8b08440 Add Template Haskell state.
     982267f Merge New Template Haskell branch.
     a333f7b Add `instance Monoid a => Monoid (Const a b)`
     0fcb06e Port ThreadDelay001 to the "time" library
     4434dc9 Typo in documentation
     98d6079 Rename (:=:) to (:~:) and add Data.Type.Coercion
     3ea4d5a Clean-up implementation of GHC.TypeLits.
     2fb746f Clarify docs for throwTo wrt atomicity (#8432)
     6fc1c0f Fix hangs with -threaded on iOS (#8307)
     478132f Add reifyAnnotations (#8397)
     c90b2dc Add Show and Read instances for Data.Ord.Down
     c503eff Spelling in commments
     db1a8c4 Remove now-unnecessary NOINLINE pragmas
     ec33d03 Make TExp's argument have nominal role (Trac #8459)
     2630f4c Declare all language extensions via `{-# LANGUAGE #-}`
     bad2d6a Refactor & modernize `.cabal` to `cabal-version>=1.10`
     c8db315 Add aux files `config.{guess,sub}` and `install-sh`
     0a39d19 Refactor & modernize `.cabal` to `cabal-version>=1.10`
     944c190 Add overlooked files created by `configure` to `extra-tmp-files`
     b3fe43e Don't include `{Event,HsUnix}Config.h` in source distribution
     ae7587d GHC.Conc.Sync: Pass TSO to stackOverflow
     71645bc Run length001 test with +RTS -K8m
     536b791 Implement SPEC for SpecConstr as a built in type.
     cb08301 Add actual documentation for new SPEC type.
     994ea5b Placate clang.
     6220e6f Add missing `{-# LANGUAGE #-}` pragmas
     845bb10 Modernize `ghc-prim.cabal` to `cabal-version>=1.10`
     fcd1390 Update aux files `config.{guess,sub}` and `install-sh`
     273669e Update `bug-reports` URL and version constraints
     7551d17 Add overlooked language extensions to `IntWord64.hs`
     d5afac8 Add side-channel attack resilient `powModSecInteger`
     64296b4 Changed export list to create better haddock. Added eqT to exports.
     eb6725b Name changes and addition of gcastWith and (==) to Data.Type.Equality.
     824ea41 Name change `CoercionT` to `CoercionType`, and addition of `repr`.
     ee24f27 Apply Gabor Lehel's suggestions.
     f497354 Expose two GMP primality operations
     9265c88 Add new module Data.Type.Bool, defining &&, || and Not.
     506cfd8 Add a couple of `/Since: 4.7.0.0/` annotations
     218c2ea Export abstract `Text.Read.Lex.Number` type
     2e73837 Add Ord instances for GHC.Generics (#7263)
     336e94d Allow module reification (#1480)
     28ef0bd Use addDependentFile in quoteFile.
     abd4fae Add primitives to write/read Integers to/from bytearrays
     1415647 Clean-up Cmm of import/export primitives
     00e04e8 Fix OSX RTS crash due to bad coercion.
     33ed16b *Really* RTS crash due to bad coercion.
     449f188 Rename `{import,export}Integer`
     008e636 Add `Addr#` based `{import,export}Integer` variants
     17c55a4 Optimize order of pattern matches for export operations
     d97951f Improve Haddock documentation
     1e38f49 Spelling in comments
     643f07c Handle ExitFailure (-sig) by killing process with signal
     2ec9734 Add tests for the top level exception handler
     14527c1 Fix up test topHandler03 by ignoring unhelpful shell output
     775d13d Add `instance {Bits,FiniteBits} Bool`
     87672e7 Update Autoconf tests for recent GMP version
     160fb4c Avoid unsafeCoerce# in TopHandler
     cfe79fd Add fusion RULES for mapMaybe
     3682558 Properly detect msys2/x64 shell as Windows.
     8446ccf Use type synonym
     d9179a5 Kill trailing whitespaces
     78e7066 Improve mkName, so that it correctly parses the name ^..
     4231ff3 s/therad/thread/
     8e2aa93 Improve error messages for partial functions in Data.Data
     ce3ff03 Try harder to demote results from `J#` to `S#` (re #8638)
     2a28fde Use a more sensible `hashInteger` implementation
     fc8e15b Refactor and comment the smartJ# changes (re Trac #8638)
     4cc6785 Make use of `quotRemInt#` primop in `quotRemInteger`
     f9c2888 Refactor `stgReallocForGMP` to use `memcpy`
     d71ced0 Add functions to compare Nat and Symbol types for equality.
     ce74d32 add 'Since' annotations and remove an unneeded import
     2a33660 Refactor C-- wrappers to use macros for mpz_t access
     4b859ee Add new `mpz_mul_si`-based primop (re #8647)
     3b285ef Add new `mpz_{sub,add}_ui`-based primop (re #8647)
     9e10e9c Hackishly fix parallel build failure with in-tree GMP
     9143961 Document another unsafeDupablePerformIO limitation.
     aabc933 Wrap `gmpz_tdiv_{q,r,qr}_ui` to optimize `quot`/`rem`
     67bcb32 Manually float out `int2Integer# INT_MINBOUND`
     a6243b3 Deprecate TH.global (Trac #8656)
     c0b5008 Temporary disable `mpz_gmpz_tdiv_qr_ui` to workaround #8661
     7647997 Follow-up to a3878d17
     069a49c Drop redundant formal parameter from TAKE1_UL1_RET2
     7fdd026 Allocate initial 1-limb mpz_t on the Stack and introduce MPZ# type
     d075e1c Wrap `gmpz_fdiv_{q,r,qr}_ui` to optimize `div`/`mod`
     df1197a Fix in-tree GMP build (#8497) on OS X Mavericks
     80c8c8c Use correct package id for `stg_INTLIKE_closure` import
     e0b3a05 Introduce new SIZEOF_MP_LIMB_T derived constant
     531199d Dont use big/small-int primops on IL32P64 (i.e. Win/x86_64) for now
     81b6bef go-ify foldr2
     be3c7fa Add newline before two `/Since: 4.7.0.0/` occurences
     836fd7c Add Hackage-supported `changelog.md` file
     48e3524 Add `/Since: 4.7.0.0/` to `MkFixed` constructor
     a9848b9 Update `changelog.md` to contain more changes
     cfa0159 Add changelog entry for new `FiniteBits` class
     fcf0294 Improve Haddock markup in `Control.Concurrent.MVar`
     cc4ba35 Improve Haddock markup
     276c462 Derive `FiniteBits` for integral newtype wrappers
     38b7182 Comment typo
     02dde83 Show docs for coerce and Coercible in GHC.Exts
     7251d42 Document Coercible in GHC.Types
     6c8cc4f Improve documentation of `integer-gmp`
     b6253fa Add Hackage-supported `changelog.md`
     c7a050f Fix a popular typo
     5ad48fd Fix a popular typo
     bcd38ea Fix negation of `divMod`/`quotRem` results (fixes #8726)
     2c2e1ec Add release note about new `SomeAsyncException`
     70b7a19 Make Pred a type synonym of Type (issue #7021)
     0390a02 Change type of equalityT to be more parallel with others.
     56f47fd Add documentation to why Pred has become a type synonym.
     7822166 Implement foldl with foldr
     79dfb96 Inline maximum/minium a bit more aggresively
     60ebfcf Improve list fusion for [n::Integer..m]
     58c8934 Test case for #8374
     61cf76d Wrong bug number
     23916ec Expand comment for enumDeltaToInteger1
     124e568 Use new bitwise Int# primops in Data.Bits (re #8791)
     90f83fa Minor typo in comment
     c60da54 Fix typo in documentation of Data.Functor.($>)
     4acc8ea Tweak Haddock markup in Control.Applicative
     4f4f798 Minor fixes to Haddock markup
     d3ad3ee Add `withMVarMasked` (re #8818)
     0c7507a Provide Typeable1..7 as type synonyms (see #8813)
     b0e2736 Language extension wibble (see #8813)
     6505c17 Tweak Haddock markup in Data.Typeable
     4775d00 Fix GMP v4 compatibility.
     65d78dd Add new Data.Bits.Bits(zeroBits) method
     e467d93 Create Data.Coerce (#8745)
     1d1ff77 Add some instances for Monoid/Applicative (#8797)
     fd26a47 Add Since-annotation to `Coercible`
     65869be Tweak documentation and update changelog.md
     d3317d4 Tweak Haddock comments in `Data.Ord.Down` added in ebc85262c
     0d66095 Workaround failed constant-folding for zeroBits
     518706b Add shiftR and shiftL implementations to instance Bits Integer
     16e2371 Comments only, about the "RA" and "RL" nomenclature for shifts
     0efb246 Use not# rather than (`xor#` (-1)) for complement
     6f338dd Add RULE for "map coerce = map" (#8767)
     4245397 Remove misleading comment
     722193b Update Coercible docs due to Safe Haskell adjustment
     a962e1e Note [Kind-changing of (~) and Coercible]
     54c95ff Better Comment [Kind-changing of (~) and Coercible]
     f793302 Refer to the coercible paper in Coercible' docs
     59ace8b Import Coercible from GHC.Types
     99869ef Export Coercible in GHC.Types (#8894)
     db5a43e Add functions for comparing type-level Nats and Symbols.
     1921238 Make argument types in popcnt.c match declared primop types
     717fc49 Bump to 2.10.0.0
     a8512f6 Comments only.
     c686179 Mark Data.Coerce as Unsafe (#8827)
     260189a add /Since/ annotation
     d8072fa Typo
     a107737 s/FromList/isList in docs
     8992d52 Update Cabal submodule to tip of v1.20 branch
     241c660 Make qReport force its error message before printing it
     dbe0b8c Update Cabal submodule to latest tip of 1.20 branch
     dc4b66f Update Cabal submodule to fix Solaris build
     f964cd9 Take account of the AvailTC invariant when importing
     a6e68af Fold ghc-prim.git into ghc.git (re #8545)
     c83bec7 Fold base.git into ghc.git (re #8545)
     85febc0 Fold integer-simple.git into ghc.git (re #8545)
     670599d Fold integer-gmp.git into ghc.git (re #8545)
     8bcb206 Fold template-haskell.git into ghc.git (re #8545)
     41f5b7e Update `sync-all` and `packages` wrt to fold-in
     1d2ffb6 Validate inferred theta. Fixes #8883
     1bf6c0e Add reverse application operator Data.Function.(&)
     44512e3 Add Data.List.sortOn function (re #9004 and #2659)
     dc2b8ae Fix sync-all error message introduced in 41f5b7e3e
     7b04d35 Weaken constraints on Data.Complex functions
     bd7b973 Kill trailing whitespace in recently touched files
     2eb40eb Normalize GHC Trac URLs
     974a97e sync-all: Apply submodule url rewriting also to stuff in util/
     f1f2d8f Remove some redundancy in sync-all
     bbf1cca More github url variants
     33350ea Do not use basename()
     386e874 Update Cabal source-repository entries (re #8545)
     6074c5d Remove -fno-warn-amp sledgehammers for validate
     35d95a2 Update submodule to final Cabal-1.20.0.0 release
     3608f65 Deprecate the AMP warnings.
     31dd5e5 testsuite/spec001: untabify, kill trailing whitespace
     574ef42 ghc: Do not add a space in '-U __PIC__'
     e2b14c7 Use import list to hide new System.Exit.die
     77ea2eb Add System.Exit.die (re #9016)
     4ab8fc5 Kill whitespace after cpp's `-I` flag
     bcd989d Generalise type of recently added System.Exit.die
     a383139 ghc & docs: kill unused flags
     c29bf98 ghc: initial AArch64 patches
     5a31f23 Be less untruthful about the prototypes of external functions
     8586f60 Add the powerpc64le architecture
     9ca17f8 Separate thousands when printing allocated bytes
     4842dde Fix `make help`
     bb85759 Adapt .gitignore (re #8545)
     c6a31d2 Update integer-gmp's .gitignore file
     33e585d Handle base et al. specially in foreachLibrary.mk
     0a0115f Be more aggressive in `make clean`
     31a7bb4 Add comments to explain the change to EF_ (Trac #8965)
     98aab76 Be sure to UNPACK the size of an array
     68a1e67 Make absolutely sure that 'done' and 'safeIndex' are strict in the index
     134b722 Be less verbose when printing Names when we don't know what's in scope
     79e46ae Don't eta-expand PAPs (fixes Trac #9020)
     4ceb5de Some typos in comments
     07388af Drop `template-haskell`'s build-dep on `containers`
     95da409 rts: Fix potential memory leak in ProfHeap.c
     111b845 rts: Fix possible int overflow in resize_nursery
     6d11a0e coverity: Suppress some time-of-check-time-of-use reports
     f2595fd Check return value of sigaction
     fa0cbd2 Fix potential out-of-bound memory access
     6ed7123 Check correct variable for NULL
     f17dcf0 Fix memleak in hp2ps
     fa5ac96 Don't require mk/config.mk for all cleanup targets
     c4e9f24 Test Trac #9036
     0960a37 rm -rf ./docs/comm
     ba2e201 Do type-class defaulting even if there are insoluble constraints
     ef35d4c Remove the definition of die, which is now provided by System.Exit
     7201e2a Update 32-bit perf numbers
     3c990bf Start on 7.10.1 release notes
     48e475e Fix annotation reification for home package modules
     5f5e326 Add a comprehensive test for using Annotations from TH
     7b967af tcrun045 should fail (implicit parameter as superclass)
     2f3ea95 Print for-alls more often (Trac #9018)
     0fe7268 annth_make, annth_compunits: Only run these tests if have_dynamic()
     a3896ab Improve implementation of unSubCo_maybe.
     ab8bb48 Fix scavenge_stack crash (#9045)
     1d0798c Typo in comments
     3a5c549 Typo in comment
     4539400 rts: Add an initial Coverity model
     7400810 Revert "rts: Add an initial Coverity model"
     91cc88b Add Note [Role twiddling functions] to Coercion.
     275ea0f rts: Add an initial Coverity model
     e597f5f rts: Fix leak of file archive handle
     b7278d3 rts: Fix memory leak when loading ELF objects
     43b3bab Rts: Consistently use StgWord for sizes of bitmaps
     05fcc33 Rts: Reuse scavenge_small_bitmap (#8742)
     83a003f Don't inline non-register GlobalRegs
     34db5cc Replace all #!/usr/bin/perl with #!/usr/bin/env perl
     b0534f7 Per-thread allocation counters and limits
     a05f8dd Update Haddock submodule ref. Fixes `cabal test'.
     5bf22f0 Remove external core
     54b31f7 fix rts exported symbols base_GHCziIOziException_allocationLimitExceeded_closure
     2e03d86 Update comment now that we have per-gen weak pointer lists.
     5141baf Improve docs for array indexing primops
     f0fcc41 Revert "Per-thread allocation counters and limits"
     9f3e39d Fix over-zealous unused-import warning
     1302d50 Add -fno-full-laziness to get consistent profiling output
     cdca791 Changed profiling output is fine (according to Simon Marlow)
     675c547 Improve comments and tracing in SpecConstr
     3c3ce82 Modularise pretty-printing for foralls
     5b73dc5 Second go at fixing #9061
     13a330e Fix Trac #9071, an egregious bug in TcDeriv.inferConstraints
     02227dd Add a bit more typechecker tracing
     59b4e6d Adding missing test files for #9071
     22ed9ef Update transformers submodule to new v0.4 rel
     76820ca Improve tracing in Simplifier
     0f978b5 Refactor buildClass and mkDictSelId a bit, to avoid the no_unf argument
     4088799 Mark evaluated arguments in dataConInstPat
     35be701 Preserve evaluated-ness in CoreTidy
     b5ca10c Better error message in vectoriser
     12332f1 Error message wibble, presumably due to recent changes in transformers
     c302a46 Update .gitignore
     2f9a846 testsuite: fix cgrun051 exit code
     3ed867f testsuite: fix cc004
     3abf949 Require transformers for T5979
     fe8a378 Revert output of T5979
     2745164 Comments only, on inert_fsks and inert_no_eqs
     770e16f In splitHsFunType, take account of prefix (->)
     b5cf17f Improve desugaring of lazy pattern match
     315fff6 Typo in comment
     1f8f927 Typo in note
     4cfc1fa Lint should check that TyConAppCo doesn't have a synonym in the tycon position
     21f17d0 Fix invariant in mkAppCoFlexible
     214ad2d Fix globalRegMaybe for unregisterised build.
     3fd7f54 Wibble to 4cfc1fae
     b036424 Update Haddock submodule.
     0148a1c Add strict ver. of (<$>): (<$!>) to Control.Monad
     dd92e21 Set cabal files to default-language:Haskell2010
     88c0870 Remove LANGUAGE pragrams implied by Haskell2010
     fc0ed8a Add missing stack checks to stg_ap_* functions (#9001)
     913b314 Avoid NondecreasingIndentation syntax in ghc-pkg
     61fdafc Drop use of CPP in `bin-package-db`
     d4aa4e4 Drop default-extensions:CPP in hpc-bin.cabal
     2dd80f6 Convert `ghc-bin.cabal` to use others-extensions
     e199891 Avoid trivial cases of NondecreasingIndentation
     2389244 Add LANGUAGE pragmas to compiler/ source files
     9a58cac Express OPTIONS_GHC as LANGUAGE pragmas
     022f875 Refactoring around TyCon.isSynTyCon
     bc7d49a Only uninstall signal handlers if they were actually installed (#9068)
     882978d ghc: Update containers submodule
     4dac3a4 base: Document Foreign.ForeignPtr (#8475)
     b75d126 rts: remove stable-names from hashtable upon free
     39aa1e9 integer-gmp: do not confuse ./configure (#8783)
     3df1c51 Extract derived constants from nm output for various OSes differently.
     3a61e6d Tighten up wording in the section on let-generalisation and MonoLocalBinds
     eab173b Remove the bit about External Core from flags.xml
     4117551 Re-add 'classP' with a compatible implementation and a deprecation notice
     135489d Provide deprecated backward compatible implementation to 'equalP'
     a8cba19 Catch some typos
     3a04ce2 Fix below warning by including "unistd.h" also
     a15d243 Harden imports in `DeriveConstants.hs` module
     7e78faf Coercible: Unwrap newtypes before coercing under tycons
     94c5767 Coercible: Test case for now broken(?) corner case
     7d958ce Tweaks to note; also fixed unicode quotes
     bc58d2e Simple eta reduction in call to adjustMatchResults, just a tidy-up
     d8d9711 Make the unifier a fixpoint even for the free kind vars of a tyvar
     d41aa76 Better pretty-printing for ClsInst
     02437a1 More debug info for failures in typeKind and kindFunResult
     427e205 White space only
     4dea15a Bump bytes-allocated for T3064
     b33f321 Typos in comments
     864759c test.mk: Be liberal in accepting GHC_PKG output
     bbe9e7c Store IfExtNames for PatSyn matchers and wrappers in interface file, and reconstruct PatSyn type from the corresponding matcher function's type.


More information about the ghc-commits mailing list