From bacb5e33d4f2cb4f716567b8caebf5cdce0beabb Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 3 May 2002 08:50:00 +0000 Subject: [haddock @ 2002-05-03 08:50:00 by simonmar] Fix some typos. --- doc/haddock.sgml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/haddock.sgml') 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 Then we can document it like this: --- |The 'sqaure' function squares an integer. +-- |The 'square' function squares an integer. square :: Int -> Int square x = x * x @@ -412,7 +412,7 @@ square x = x * x square :: Int -> Int --- ^The 'sqaure' function squares an integer. +-- ^The 'square' function squares an integer. square x = x * x @@ -503,13 +503,13 @@ data R a b = like this: -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 NOTE: this feature isn't implemented in Haddock - 1.0. + 0.1. -- cgit v1.2.3