diff options
author | Edward Z. Yang <ezyang@cs.stanford.edu> | 2015-10-11 11:03:10 -0700 |
---|---|---|
committer | Edward Z. Yang <ezyang@cs.stanford.edu> | 2015-10-14 21:40:49 -0700 |
commit | b92a51f5e235fc22a9ae0d76735b50f095665fb7 (patch) | |
tree | 27eb41de475255206185e68c535c2d899012fa1b /docs | |
parent | 5b0191f74ab05b187f81ea037623338a615b1619 (diff) | |
download | haskell-b92a51f5e235fc22a9ae0d76735b50f095665fb7.tar.gz |
Rename package key to unit ID, and installed package ID to component ID.
Comes with Haddock submodule update.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/packages.rst | 6 | ||||
-rw-r--r-- | docs/users_guide/separate_compilation.rst | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/users_guide/packages.rst b/docs/users_guide/packages.rst index a58f10ed87..b9e017ac2a 100644 --- a/docs/users_guide/packages.rst +++ b/docs/users_guide/packages.rst @@ -224,7 +224,7 @@ The GHC command line options that control packages are: .. index:: single: -this-package-key - Tells GHC the the module being compiled forms part of package key + Tells GHC the the module being compiled forms part of unit ID ⟨pkg-key⟩; internally, these keys are used to determine type equality and linker symbols. @@ -237,7 +237,7 @@ The GHC command line options that control packages are: determined by Cabal; a usual recipe for a library name is that it is the hash source package identifier of a package, as well as the version hashes of all its textual dependencies. GHC will then use - this library name to generate more package keys. + this library name to generate more unit IDs. ``-trust ⟨pkg⟩`` .. index:: @@ -834,7 +834,7 @@ Additionally, the following flags are accepted by ``ghc-pkg``: .. index:: single: --package-key; ghc-pkg option - Causes ``ghc-pkg`` to interpret arguments as package keys (e.g., an + Causes ``ghc-pkg`` to interpret arguments as unit IDs (e.g., an identifier like ``I5BErHzyOm07EBNpKBEeUv``). Package keys are used to prefix symbol names GHC produces (e.g., ``6VWy06pWzzJq9evDvK2d4w6_DataziByteStringziInternal_unsafePackLenChars_info``), diff --git a/docs/users_guide/separate_compilation.rst b/docs/users_guide/separate_compilation.rst index ec5b5d95b3..11ce8c80d1 100644 --- a/docs/users_guide/separate_compilation.rst +++ b/docs/users_guide/separate_compilation.rst @@ -758,7 +758,7 @@ implementation backing a signature: To specify multiple signatures, use a comma-separated list. The ``-sig-of`` parameter is required to specify the backing implementations of all home modules, even in one-shot compilation mode. At the moment, -you must specify the full module name (package key, colon, and then +you must specify the full module name (unit ID, colon, and then module name), although in the future we may support more user-friendly syntax. |