[commit: ghc] master: Tweak the example (d9ac5ea)
git at git.haskell.org
git at git.haskell.org
Sun Jan 26 13:34:14 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/d9ac5ea241793b073b735aee9a21a0d69db25a66/ghc
>---------------------------------------------------------------
commit d9ac5ea241793b073b735aee9a21a0d69db25a66
Author: Gabor Greif <ggreif at gmail.com>
Date: Sun Jan 26 14:33:18 2014 +0100
Tweak the example
>---------------------------------------------------------------
d9ac5ea241793b073b735aee9a21a0d69db25a66
docs/users_guide/glasgow_exts.xml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index 23ba91c..5117417 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -875,8 +875,9 @@ data Type = App String [Type]
</programlisting>
<para>
-Here are some examples of using this representation:
-Using this representation, a function type will look like this:
+Here are some examples of using said representation.
+Consider a few types of the <literal>Type</literal> universe encoded
+like this:
</para>
<programlisting>
@@ -888,7 +889,7 @@ Using this representation, a function type will look like this:
<para>
This representation is very generic in that no types are given special
treatment. However, some functions might need to handle some known
-types specially, for example the following two functions collects all
+types specially, for example the following two functions collect all
argument types of (nested) arrow types, and recognize the
<literal>Int</literal> type, respectively:
</para>
More information about the ghc-commits
mailing list