[project @ 2003-05-14 17:31:47 by ross]
authorross <unknown>
Wed, 14 May 2003 17:31:48 +0000 (17:31 +0000)
committerross <unknown>
Wed, 14 May 2003 17:31:48 +0000 (17:31 +0000)
doc tweaks

Control/Monad/Cont.hs
Control/Monad/Error.hs
Control/Monad/List.hs
Control/Monad/RWS.hs
Control/Monad/Reader.hs
Control/Monad/State.hs
Control/Monad/Writer.hs
Data/Array/IO/Internals.hs
GHC/Arr.lhs
GHC/IOBase.lhs
Text/Regex.hs

index 251dbd9..26af5ed 100644 (file)
@@ -6,7 +6,7 @@
 -- 
 -- Maintainer  :  libraries@haskell.org
 -- Stability   :  experimental
--- Portability :  non-portable
+-- Portability :  non-portable (multi-parameter type classes)
 --
 -- Continuation monads.
 --
index 9b2661d..cfb536d 100644 (file)
@@ -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.
 --
index 275b600..9acb29c 100644 (file)
@@ -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.
 --
index 0492d37..36c9d5c 100644 (file)
@@ -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.
 --
index c3e9939..51415d3 100644 (file)
@@ -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
 --
index 9e75902..f118849 100644 (file)
@@ -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.
 --
index b941e65..de66eb4 100644 (file)
@@ -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.
 --
index 1479df3..5d81eab 100644 (file)
@@ -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)
 
index a024b6f..5c4c9d6 100644 (file)
@@ -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.
 --
index cf3c5eb..048d2bb 100644 (file)
@@ -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.
 --
index 62901a5..a0d724e 100644 (file)
@@ -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