diff options
author | Ian Lynagh <igloo@earth.li> | 2011-03-06 15:15:32 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-03-06 15:15:32 +0000 |
commit | b29919ba7845925dcf4bdbeb3fa0045ac4be2e26 (patch) | |
tree | 8f7c83df1600a0ced18d76f7a87daac4e1d2cec7 /docs | |
parent | e45b7db233c7c315612b5e1b2e82f872784507ee (diff) | |
download | haskell-b29919ba7845925dcf4bdbeb3fa0045ac4be2e26.tar.gz |
Fix doc formatting
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/using.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index cc5045e1b9..06862e76e2 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -1312,13 +1312,15 @@ f foo = foo { x = 6 } <literal>import</literal> declaration that does not explicitly list the entities brought into scope. For example + </para> <programlisting> module M where import X( f ) import Y import qualified Z p x = f x x -<programlisting> +</programlisting> + <para> The <option>-fwarn-import-lists</option> flag will warn about the import of <literal>Y</literal> but not <literal>X</literal> If module <literal>Y</literal> is later changed to export (say) <literal>f</literal>, @@ -1326,6 +1328,7 @@ module M where ambiguous. No warning is produced for the import of <literal>Z</literal> because extending <literal>Z</literal>'s exports would be unlikely to produce ambiguity in <literal>M</literal>. + </para> </listitem> </varlistentry> |