Users guide 19 The Glorious Glasgow Haskell Compilation System User ? s Guide Version i The Glorious Glasgow Haskell Compilation System User ? s Guide Version CThe Glorious Glasgow Haskell Compilation System User ? s Guide Version ACTION COLLABORATORS TIT
The Glorious Glasgow Haskell Compilation System User ? s Guide Version i The Glorious Glasgow Haskell Compilation System User ? s Guide Version CThe Glorious Glasgow Haskell Compilation System User ? s Guide Version ACTION COLLABORATORS TITLE The Glorious Glasgow Haskell Compilation System User ? s Guide Version NAME DATE WRITTEN BY The GHC Team April ii SIGNATURE NUMBER DATE REVISION HISTORY DESCRIPTION NAME CThe Glorious Glasgow Haskell Compilation System User ? s Guide Version iii Contents Introduction to GHC Obtaining GHC Meta-information Web sites mailing lists etc Reporting bugs in GHC GHC version numbering policy Release notes for version Highlights Full details Language Compiler GHCi Template Haskell Runtime system Build system Libraries array base bin-package-db binary bytestring Cabal containers deepseq directory ?lepath ghc-prim haskell haskell hoopl hpc CThe Glorious Glasgow Haskell Compilation System User ? s Guide Version iv integer-gmp old-locale old-time process template-haskell time unix Win Release notes for version GHC Haddock Hsc hs Libraries base bytestring directory unix Release notes for version GHC Using GHCi Introduction to GHCi Loading source ?les Modules vs ?lenames Making changes and recompilation Loading compiled code Interactive evaluation at the prompt I O actions at the prompt Using do-notation at the prompt Multiline input Type class and other declarations What ? s really in scope at the prompt module and load Quali ?ed names The main and run commands The it variable Type defaulting in GHCi Using a custom interactive printing function The GHCi Debugger CThe Glorious Glasgow Haskell Compilation System User ? s Guide Version v Breakpoints and inspecting variables Setting breakpoints Listing and deleting breakpoints Single- stepping Nested breakpoints The result variable Tracing and history Debugging exceptions Example inspecting functions Limitations Invoking GHCi Packages Extra libraries GHCi commands The set and seti commands GHCi options Setting GHC command-line options in GHCi Setting options for interactive evaluation only The ghci ?le Compiling to object code inside GHCi FAQ and Things To Watch Out For Using runghc Flags Using GHC Getting started compiling programs Options overview Command-line arguments Command line options in source ?les Setting options in GHCi Static Dynamic and Mode options Meaningful ?le suf ?xes Modes of operation Using ghc --make Expression evaluation mode Batch compiler mode Overriding the default behaviour for a ?le Help and verbosity options CThe Glorious Glasgow Haskell Compilation System User ? s Guide Version vi Filenames and separate compilation Haskell source ?les Output ?les The search path Redirecting the compilation output s Keeping Intermediate Files Redirecting temporary ?les Other options related to interface ?les The recompilation checker How to compile mutually recursive modules Using make Dependency generation Orphan modules and instance declarations Warnings and sanity-checking Packages Using Packages The main package Consequences of packages for the Haskell language Package Databases The GHCPACKAGEPATH environment variable Package IDs dependencies and broken packages Package management the ghc- pkg command Building a package from Haskell source InstalledPackageInfo a package speci ?cation Optimisation code improvement -O convenient ??packages ? of optimisation ags -f platform-independent ags GHC Backends Native code Generator
Documents similaires










-
51
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise- Détails
- Publié le Aoû 27, 2021
- Catégorie Industry / Industr...
- Langue French
- Taille du fichier 1.2MB