The Glorious Glasgow Haskell Compilation System User's Guide
Total Page:16
File Type:pdf, Size:1020Kb
The Glorious Glasgow Haskell Compilation System User’s Guide, Version 6.12.2 i The Glorious Glasgow Haskell Compilation System User’s Guide, Version 6.12.2 The Glorious Glasgow Haskell Compilation System User’s Guide, Version 6.12.2 ii COLLABORATORS TITLE : The Glorious Glasgow Haskell Compilation System User’s Guide, Version 6.12.2 ACTION NAME DATE SIGNATURE WRITTEN BY The GHC Team April 21, 2010 REVISION HISTORY NUMBER DATE DESCRIPTION NAME The Glorious Glasgow Haskell Compilation System User’s Guide, Version 6.12.2 iii Contents 1 Introduction to GHC 1 1.1 Obtaining GHC . .1 1.2 Meta-information: Web sites, mailing lists, etc. .1 1.3 Reporting bugs in GHC . .2 1.4 GHC version numbering policy . .2 1.5 Release notes for version 6.12.2 . .3 1.5.1 Compiler and Runtime system . .3 1.5.2 Template Haskell . .3 1.5.3 Libraries . .3 1.5.3.1 array . .3 1.5.3.2 base . .3 1.5.3.3 bytestring . .4 1.5.3.4 Cabal . .4 1.5.3.5 containers . .4 1.5.3.6 directory . .4 1.5.3.7 dph (dph-base, dph-par, dph-prim-interface, dph-prim-par, dph-prim-seq, dph-seq) . .4 1.5.3.8 extensible-exceptions . .4 1.5.3.9 filepath . .4 1.5.3.10 ghc-binary . .4 1.5.3.11 ghc-prim . .4 1.5.3.12 haskell98 . .4 1.5.3.13 hpc . .4 1.5.3.14 integer-gmp . .5 1.5.3.15 integer-simple . .5 1.5.3.16 old-locale . .5 1.5.3.17 old-time . .5 1.5.3.18 pretty . .5 1.5.3.19 process . .5 1.5.3.20 random . .5 1.5.3.21 syb . .5 The Glorious Glasgow Haskell Compilation System User’s Guide, Version 6.12.2 iv 1.5.3.22 template-haskell . .5 1.5.3.23 time . .5 1.5.3.24 unix . .5 1.5.3.25 Win32 . .5 1.6 Release notes for version 6.12.1 . .6 1.6.1 Highlights . .6 1.6.2 Language changes . .6 1.6.3 Warnings . .7 1.6.4 Runtime system . .8 1.6.5 Build system . .8 1.6.6 Compiler . .8 1.6.7 GHCi . .9 1.6.8 Template Haskell . .9 1.6.9 Package Handling . .9 1.6.10 Libraries . 10 1.6.10.1 array . 10 1.6.10.2 base . 10 1.6.10.3 bytestring . 11 1.6.10.4 Cabal . 11 1.6.10.5 containers . 11 1.6.10.6 directory . 11 1.6.10.7 dph (dph-base, dph-par, dph-prim-interface, dph-prim-par, dph-prim-seq, dph-seq) . 12 1.6.10.8 extensible-exceptions . 12 1.6.10.9 filepath . 12 1.6.10.10 ghc-binary . 12 1.6.10.11 ghc-prim . 12 1.6.10.12 haskell98 . 12 1.6.10.13 hpc . 12 1.6.10.14 integer-gmp . 12 1.6.10.15 integer-simple . 12 1.6.10.16 old-locale . 12 1.6.10.17 old-time . 12 1.6.10.18 packedstring . 12 1.6.10.19 pretty . 13 1.6.10.20 process . 13 1.6.10.21 random . 13 1.6.10.22 syb . 13 1.6.10.23 template-haskell . 13 1.6.10.24 time . 13 1.6.10.25 unix . 13 1.6.10.26 Win32 . 13 The Glorious Glasgow Haskell Compilation System User’s Guide, Version 6.12.2 v 2 Using GHCi 14 2.1 Introduction to GHCi . 14 2.2 Loading source files . 14 2.2.1 Modules vs. filenames . ..