diff options
author | Austin Seipp <austin@well-typed.com> | 2014-01-15 08:35:37 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-01-15 08:36:23 -0600 |
commit | 778b48afc36e2b0eb44387e2a36947ac0c6ddd95 (patch) | |
tree | 193a5a29ea29cb59ea264ba420f966621b1345fc /docs | |
parent | 89c83d66d1cb9d5b2f7b07ca7d886a505adf45fa (diff) | |
download | haskell-778b48afc36e2b0eb44387e2a36947ac0c6ddd95.tar.gz |
s/warn-type-holes/warn-typed-holes/g
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/7.8.1-notes.xml | 4 | ||||
-rw-r--r-- | docs/users_guide/flags.xml | 6 | ||||
-rw-r--r-- | docs/users_guide/glasgow_exts.xml | 6 | ||||
-rw-r--r-- | docs/users_guide/using.xml | 6 |
4 files changed, 11 insertions, 11 deletions
diff --git a/docs/users_guide/7.8.1-notes.xml b/docs/users_guide/7.8.1-notes.xml index a5edeea943..72601f3e0c 100644 --- a/docs/users_guide/7.8.1-notes.xml +++ b/docs/users_guide/7.8.1-notes.xml @@ -19,13 +19,13 @@ <listitem> <para> By default, GHC has a new warning enabled, - <literal>-fwarn-type-holes</literal>, which causes the + <literal>-fwarn-typed-holes</literal>, which causes the compiler to respond with the types of unbound variables it encounters in the source code. (It is reminiscient of the "holes" feature in languages such as Agda.) - For more information, see <xref linkend="type-holes"/>. + For more information, see <xref linkend="typed-holes"/>. </para> </listitem> diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml index a9b989d6ae..3a69c8f550 100644 --- a/docs/users_guide/flags.xml +++ b/docs/users_guide/flags.xml @@ -1522,10 +1522,10 @@ </row> <row> - <entry><option>-fwarn-type-holes</option></entry> - <entry>Enable <link linkend="type-holes">holes</link> in expressions.</entry> + <entry><option>-fwarn-typed-holes</option></entry> + <entry>Enable <link linkend="typed-holes">holes</link> in expressions.</entry> <entry>dynamic</entry> - <entry><option>-fno-warn-type-holes</option></entry> + <entry><option>-fno-warn-typed-holes</option></entry> </row> </tbody> diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml index 32f2c2e1b4..d336ee9426 100644 --- a/docs/users_guide/glasgow_exts.xml +++ b/docs/users_guide/glasgow_exts.xml @@ -7671,14 +7671,14 @@ with <option>-XNoMonoLocalBinds</option> but type inference becomes less predica </sect1> <!-- ==================== End of type system extensions ================= --> -<sect1 id="type-holes"> +<sect1 id="typed-holes"> <title>Type Holes</title> <para>Type hole support is enabled with the option -<option>-fwarn-type-holes</option>, which is enabled by default.</para> +<option>-fwarn-typed-holes</option>, which is enabled by default.</para> <para> -The goal of the type holes extension is not to change the type system, but to help with writing Haskell +The goal of the type holes warning is not to change the type system, but to help with writing Haskell code. Type holes can be used to obtain extra information from the type checker, which might otherwise be hard to get. Normally, the type checker is used to decide if a module is well typed or not. Using GHCi, diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 7192e6ab78..8d8211eb5a 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -1094,9 +1094,9 @@ test.hs:(5,4)-(6,7): <variablelist> <varlistentry> - <term><option>-fwarn-type-holes</option>:</term> + <term><option>-fwarn-typed-holes</option>:</term> <listitem> - <indexterm><primary><option>-fwarn-type-holes</option></primary> + <indexterm><primary><option>-fwarn-typed-holes</option></primary> </indexterm> <indexterm><primary>warnings</primary></indexterm> <para>When the compiler encounters an unbound local @@ -1106,7 +1106,7 @@ test.hs:(5,4)-(6,7): includes the type it needs to type check. It works particularly well with <link linkend="defer-type-errors">deferred type errors</link>. - See <xref linkend="type-holes"/></para> + See <xref linkend="typed-holes"/></para> <para>This warning is on by default.</para> </listitem> |