aboutsummaryrefslogtreecommitdiff
path: root/doc/haddock.sgml
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-05-03 08:50:00 +0000
committersimonmar <unknown>2002-05-03 08:50:00 +0000
commitbacb5e33d4f2cb4f716567b8caebf5cdce0beabb (patch)
tree7478d23d28c975bc369fb49493b9faede78177b1 /doc/haddock.sgml
parentba6c39faa423dd11635fe58dead555b680721a86 (diff)
[haddock @ 2002-05-03 08:50:00 by simonmar]
Fix some typos.
Diffstat (limited to 'doc/haddock.sgml')
-rw-r--r--doc/haddock.sgml12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/haddock.sgml b/doc/haddock.sgml
index 21228100..a9730394 100644
--- a/doc/haddock.sgml
+++ b/doc/haddock.sgml
@@ -371,7 +371,7 @@ square x = x * x
<para>Then we can document it like this:</para>
<programlisting>
--- |The 'sqaure' function squares an integer.
+-- |The 'square' function squares an integer.
square :: Int -> Int
square x = x * x
</programlisting>
@@ -412,7 +412,7 @@ square x = x * x
<programlisting>
square :: Int -> Int
--- ^The 'sqaure' function squares an integer.
+-- ^The 'square' function squares an integer.
square x = x * x
</programlisting>
@@ -503,13 +503,13 @@ data R a b =
like this:</para>
<programlisting>
-f :: Int -- | The 'Int' argument
- -> Float -- | The 'Float' argument
- -> IO () -- | The return value
+f :: Int -- ^ The 'Int' argument
+ -> Float -- ^ The 'Float' argument
+ -> IO () -- ^ The return value
</programlisting>
<para>NOTE: this feature isn't implemented in Haddock
- 1.0.</para>
+ 0.1.</para>
</section>
</section>