From 9998ccb135e022aee442d32bf1f9e723a2256887 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 26 Nov 2007 18:44:28 +0000 Subject: [PATCH] Fix some links in haddock docs --- Data/Fixed.hs | 2 +- Data/Ix.hs | 2 +- Data/Monoid.hs | 4 ++-- Data/Typeable.hs | 2 +- GHC/Arr.lhs | 2 +- System/Timeout.hs | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Data/Fixed.hs b/Data/Fixed.hs index 691a935..f2f96e9 100644 --- a/Data/Fixed.hs +++ b/Data/Fixed.hs @@ -10,7 +10,7 @@ -- Stability : experimental -- Portability : portable -- --- This module defines a "Fixed" type for fixed-precision arithmetic. +-- This module defines a \"Fixed\" type for fixed-precision arithmetic. -- The parameter to Fixed is any type that's an instance of HasResolution. -- HasResolution has a single method that gives the resolution of the Fixed type. -- Parameter types E6 and E12 (for 10^6 and 10^12) are defined, as well as diff --git a/Data/Ix.hs b/Data/Ix.hs index 6af2c19..f9ce182 100644 --- a/Data/Ix.hs +++ b/Data/Ix.hs @@ -10,7 +10,7 @@ -- -- The 'Ix' class is used to map a contiguous subrange of values in -- type onto integers. It is used primarily for array indexing --- (see "Data.Array", "Data.Array.IArray" and "Data.Array.MArray"). +-- (see the array package). -- ----------------------------------------------------------------------------- module Data.Ix diff --git a/Data/Monoid.hs b/Data/Monoid.hs index 3c2337c..e7dcae3 100644 --- a/Data/Monoid.hs +++ b/Data/Monoid.hs @@ -165,8 +165,8 @@ instance Num a => Monoid (Product a) where -- else Last Nothing) -- @ -- --- Much of "Data.Map"'s interface can be implemented with --- 'Data.Map.alter'. Some of the rest can be implemented with a new +-- Much of Data.Map's interface can be implemented with +-- Data.Map.alter. Some of the rest can be implemented with a new -- @alterA@ function and either 'First' or 'Last': -- -- > alterA :: (Applicative f, Ord k) => diff --git a/Data/Typeable.hs b/Data/Typeable.hs index b61960f..a96f2e9 100644 --- a/Data/Typeable.hs +++ b/Data/Typeable.hs @@ -163,7 +163,7 @@ instance Eq TyCon where #endif -- | Returns a unique integer associated with a 'TypeRep'. This can --- be used for making a mapping ('Data.IntMap.IntMap') with TypeReps +-- be used for making a mapping with TypeReps -- as the keys, for example. It is guaranteed that @t1 == t2@ if and only if -- @typeRepKey t1 == typeRepKey t2@. -- diff --git a/GHC/Arr.lhs b/GHC/Arr.lhs index 2c23faa..4586fec 100644 --- a/GHC/Arr.lhs +++ b/GHC/Arr.lhs @@ -40,7 +40,7 @@ default () \begin{code} -- | The 'Ix' class is used to map a contiguous subrange of values in -- a type onto integers. It is used primarily for array indexing --- (see "Data.Array", "Data.Array.IArray" and "Data.Array.MArray"). +-- (see the array package). -- -- The first argument @(l,u)@ of each of these operations is a pair -- specifying the lower and upper bounds of a contiguous subrange of values. diff --git a/System/Timeout.hs b/System/Timeout.hs index c7e4ee2..dbf9209 100644 --- a/System/Timeout.hs +++ b/System/Timeout.hs @@ -57,7 +57,7 @@ data Timeout = Timeout Unique deriving (Eq, Typeable) -- blocks, no timeout event can be delivered until the FFI call returns, which -- pretty much negates the purpose of the combinator. In practice, however, -- this limitation is less severe than it may sound. Standard I\/O functions --- like 'System.IO.hGetBuf', 'System.IO.hPutBuf', 'Network.Socket.accept', or +-- like 'System.IO.hGetBuf', 'System.IO.hPutBuf', Network.Socket.accept, or -- 'System.IO.hWaitForInput' appear to be blocking, but they really don't -- because the runtime system uses scheduling mechanisms like @select(2)@ to -- perform asynchronous I\/O, so it is possible to interrupt standard socket -- 1.7.10.4