From: ross Date: Wed, 14 May 2003 17:31:48 +0000 (+0000) Subject: [project @ 2003-05-14 17:31:47 by ross] X-Git-Tag: nhc98-1-18-release~649 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=e26cd9742d4ac05614191f394fbc5b752809cec4;p=haskell-directory.git [project @ 2003-05-14 17:31:47 by ross] doc tweaks --- diff --git a/Control/Monad/Cont.hs b/Control/Monad/Cont.hs index 251dbd9..26af5ed 100644 --- a/Control/Monad/Cont.hs +++ b/Control/Monad/Cont.hs @@ -6,7 +6,7 @@ -- -- Maintainer : libraries@haskell.org -- Stability : experimental --- Portability : non-portable +-- Portability : non-portable (multi-parameter type classes) -- -- Continuation monads. -- diff --git a/Control/Monad/Error.hs b/Control/Monad/Error.hs index 9b2661d..cfb536d 100644 --- a/Control/Monad/Error.hs +++ b/Control/Monad/Error.hs @@ -6,7 +6,7 @@ -- -- Maintainer : libraries@haskell.org -- Stability : experimental --- Portability : non-portable (reqruires multi-param type classes) +-- Portability : non-portable (multi-parameter type classes) -- -- The Error monad. -- diff --git a/Control/Monad/List.hs b/Control/Monad/List.hs index 275b600..9acb29c 100644 --- a/Control/Monad/List.hs +++ b/Control/Monad/List.hs @@ -7,7 +7,7 @@ -- -- Maintainer : libraries@haskell.org -- Stability : experimental --- Portability : non-portable ( requires mulit-parameter type classes ) +-- Portability : non-portable (multi-parameter type classes) -- -- The List monad. -- diff --git a/Control/Monad/RWS.hs b/Control/Monad/RWS.hs index 0492d37..36c9d5c 100644 --- a/Control/Monad/RWS.hs +++ b/Control/Monad/RWS.hs @@ -7,7 +7,7 @@ -- -- Maintainer : libraries@haskell.org -- Stability : experimental --- Portability : non-portable ( mulit-param classes, functional dependencies ) +-- Portability : non-portable (multi-param classes, functional dependencies) -- -- Declaration of the MonadRWS class. -- diff --git a/Control/Monad/Reader.hs b/Control/Monad/Reader.hs index c3e9939..51415d3 100644 --- a/Control/Monad/Reader.hs +++ b/Control/Monad/Reader.hs @@ -7,7 +7,7 @@ -- -- Maintainer : libraries@haskell.org -- Stability : experimental --- Portability : non-portable ( mulit-param classes, functional dependencies ) +-- Portability : non-portable (multi-param classes, functional dependencies) -- -- Declaration of the Monoid class,and instances for list and functions -- diff --git a/Control/Monad/State.hs b/Control/Monad/State.hs index 9e75902..f118849 100644 --- a/Control/Monad/State.hs +++ b/Control/Monad/State.hs @@ -7,7 +7,7 @@ -- -- Maintainer : libraries@haskell.org -- Stability : experimental --- Portability : non-portable ( mulit-param classes, functional dependencies ) +-- Portability : non-portable (multi-param classes, functional dependencies) -- -- State monads. -- diff --git a/Control/Monad/Writer.hs b/Control/Monad/Writer.hs index b941e65..de66eb4 100644 --- a/Control/Monad/Writer.hs +++ b/Control/Monad/Writer.hs @@ -7,7 +7,7 @@ -- -- Maintainer : libraries@haskell.org -- Stability : experimental --- Portability : non-portable ( mulit-param classes, functional dependencies ) +-- Portability : non-portable (multi-param classes, functional dependencies) -- -- The MonadWriter class. -- diff --git a/Data/Array/IO/Internals.hs b/Data/Array/IO/Internals.hs index 1479df3..5d81eab 100644 --- a/Data/Array/IO/Internals.hs +++ b/Data/Array/IO/Internals.hs @@ -13,6 +13,7 @@ -- ----------------------------------------------------------------------------- +-- #hide module Data.Array.IO.Internals ( IOArray(..), -- instance of: Eq, Typeable IOUArray(..), -- instance of: Eq, Typeable @@ -72,10 +73,10 @@ instance MArray IOArray e IO where -- | Mutable, unboxed, strict arrays in the 'IO' monad. The type -- arguments are as follows: -- --- * @i@: the index type of the array (should be an instance of @Ix@) +-- * @i@: the index type of the array (should be an instance of 'Ix') -- -- * @e@: the element type of the array. Only certain element types --- are supported: see 'MArray' for a list of instances. +-- are supported: see "Data.Array.MArray" for a list of instances. -- newtype IOUArray i e = IOUArray (STUArray RealWorld i e) diff --git a/GHC/Arr.lhs b/GHC/Arr.lhs index a024b6f..5c4c9d6 100644 --- a/GHC/Arr.lhs +++ b/GHC/Arr.lhs @@ -284,7 +284,7 @@ data Ix i => Array i e = Array !i !i (Array# e) -- -- * @s@: the state variable argument for the 'ST' type -- --- * @i@: the index type of the array (should be an instance of @Ix@) +-- * @i@: the index type of the array (should be an instance of 'Ix') -- -- * @e@: the element type of the array. -- diff --git a/GHC/IOBase.lhs b/GHC/IOBase.lhs index cf3c5eb..048d2bb 100644 --- a/GHC/IOBase.lhs +++ b/GHC/IOBase.lhs @@ -409,7 +409,7 @@ writeIORef (IORef var) v = stToIO (writeSTRef var v) -- | An 'IOArray' is a mutable, boxed, non-strict array in the 'IO' monad. -- The type arguments are as follows: -- --- * @i@: the index type of the array (should be an instance of @Ix@) +-- * @i@: the index type of the array (should be an instance of 'Ix') -- -- * @e@: the element type of the array. -- diff --git a/Text/Regex.hs b/Text/Regex.hs index 62901a5..a0d724e 100644 --- a/Text/Regex.hs +++ b/Text/Regex.hs @@ -24,11 +24,9 @@ module Text.Regex ( import Prelude import qualified Text.Regex.Posix as RE +import Text.Regex.Posix ( Regex ) import System.IO.Unsafe --- | A compiled regular expression -type Regex = RE.Regex - -- | Makes a regular expression with the default options (multi-line, -- case-sensitive). The syntax of regular expressions is -- otherwise that of @egrep@ (i.e. POSIX \"extended\" regular