[commit: ghc] master: Add reexported modules to the list of IPID fields. (546029e)

git at git.haskell.org git at git.haskell.org
Mon Jul 28 10:55:17 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/546029e4da13592b2f503805c16b7fdfc6c89725/ghc

>---------------------------------------------------------------

commit 546029e4da13592b2f503805c16b7fdfc6c89725
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Mon Jul 28 03:55:05 2014 -0700

    Add reexported modules to the list of IPID fields.
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>


>---------------------------------------------------------------

546029e4da13592b2f503805c16b7fdfc6c89725
 docs/users_guide/packages.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/docs/users_guide/packages.xml b/docs/users_guide/packages.xml
index 0e20717..3aaacea 100644
--- a/docs/users_guide/packages.xml
+++ b/docs/users_guide/packages.xml
@@ -1467,6 +1467,25 @@ haddock-html: /usr/share/doc/ghc/html/libraries/unix
 
         <varlistentry>
           <term>
+            <literal>reexported-modules</literal>
+            <indexterm><primary><literal>reexported-modules</literal></primary><secondary>reexport specification</secondary></indexterm>
+          </term>
+          <listitem>
+            <para>Modules reexported by this package.  This list takes
+            the form of <literal>pkg:OldName as NewName
+            (A at orig-pkg-0.1-HASH)</literal>: the first portion of the
+            string is the user-written reexport specification (possibly
+            omitting the package qualifier and the renaming), while the
+            parenthetical is the original package which exposed the
+            module under are particular name.  Reexported modules have
+            a relaxed overlap constraint: it's permissible for two
+            packages to reexport the same module as the same name if the
+            reexported moduleis identical.</para>
+          </listitem>
+        </varlistentry>
+
+        <varlistentry>
+          <term>
             <literal>trusted</literal>
             <indexterm><primary><literal>trusted</literal></primary><secondary>package specification</secondary></indexterm>
           </term>



More information about the ghc-commits mailing list