remove instances for types/classes that are not part of Haskell
authorSimon Marlow <marlowsd@gmail.com>
Thu, 1 Jul 2010 11:13:58 +0000 (11:13 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 1 Jul 2010 11:13:58 +0000 (11:13 +0000)
report/Makefile
report/libs/Control-Monad.tex
report/libs/Data-Bits.tex
report/libs/Data-Complex.tex
report/libs/Foreign-C-Types.tex
report/libs/Foreign-ForeignPtr.tex
report/libs/Foreign-Storable.tex
report/libs/System-Exit.tex
report/libs/System-IO.tex

index 6b821e0..7158c6d 100644 (file)
@@ -307,3 +307,16 @@ haddock :
           --read-interface=../base-4.3.0.0,$(LIBDIR)/base/dist-install/doc/html/base/base.haddock \
           --optghc=-package-name --optghc=haskell2010-1.0.0.0 --optghc=-hide-all-packages --optghc=-i --optghc=-i$(LIBDIR)/haskell2010/. --optghc=-i$(LIBDIR)/haskell2010/dist-install/build --optghc=-i$(LIBDIR)/haskell2010/dist-install/build/autogen --optghc=-i$(LIBDIR)/haskell2010/dist-install/build --optghc=-i$(LIBDIR)/haskell2010/dist-install/build/autogen --optghc=-i$(LIBDIR)/haskell2010/. --optghc=-optP-include --optghc=-optP$(LIBDIR)/haskell2010/dist-install/build/autogen/cabal_macros.h --optghc=-package --optghc=array-0.3.0.0 --optghc=-package --optghc=base-4.3.0.0 --optghc=-package-name --optghc=haskell2010 --optghc=-XPackageImports --optghc=-XCPP --optghc=-no-user-package-conf --optghc=-rtsopts --optghc=-O --optghc=-fasm --optghc=-dcore-lint --optghc=-fno-warn-deprecated-flags --optghc=-odir --optghc=libraries/haskell2010/dist-install/build --optghc=-hidir --optghc=$(LIBDIR)/haskell2010/dist-install/build --optghc=-stubdir --optghc=$(LIBDIR)/haskell2010/dist-install/build --optghc=-hisuf --optghc=hi --optghc=-osuf --optghc=o --optghc=-hcsuf --optghc=hc \
           $(patsubst %, $(LIBDIR)/haskell2010/%, $(addsuffix .hs, $(subst .,/,$(LIB_MODULES))))
           --read-interface=../base-4.3.0.0,$(LIBDIR)/base/dist-install/doc/html/base/base.haddock \
           --optghc=-package-name --optghc=haskell2010-1.0.0.0 --optghc=-hide-all-packages --optghc=-i --optghc=-i$(LIBDIR)/haskell2010/. --optghc=-i$(LIBDIR)/haskell2010/dist-install/build --optghc=-i$(LIBDIR)/haskell2010/dist-install/build/autogen --optghc=-i$(LIBDIR)/haskell2010/dist-install/build --optghc=-i$(LIBDIR)/haskell2010/dist-install/build/autogen --optghc=-i$(LIBDIR)/haskell2010/. --optghc=-optP-include --optghc=-optP$(LIBDIR)/haskell2010/dist-install/build/autogen/cabal_macros.h --optghc=-package --optghc=array-0.3.0.0 --optghc=-package --optghc=base-4.3.0.0 --optghc=-package-name --optghc=haskell2010 --optghc=-XPackageImports --optghc=-XCPP --optghc=-no-user-package-conf --optghc=-rtsopts --optghc=-O --optghc=-fasm --optghc=-dcore-lint --optghc=-fno-warn-deprecated-flags --optghc=-odir --optghc=libraries/haskell2010/dist-install/build --optghc=-hidir --optghc=$(LIBDIR)/haskell2010/dist-install/build --optghc=-stubdir --optghc=$(LIBDIR)/haskell2010/dist-install/build --optghc=-hisuf --optghc=hi --optghc=-osuf --optghc=o --optghc=-hcsuf --optghc=hc \
           $(patsubst %, $(LIBDIR)/haskell2010/%, $(addsuffix .hs, $(subst .,/,$(LIB_MODULES))))
+       for i in $(LIB_TEX); do \
+          sed 's/instance\(\\ [^\]*\)*\\ ReadP\($$\|\\\\\)//g' $$i | \
+          sed 's/instance\(\\ [^\]*\)*\\ P\($$\|\\\\\)//g' | \
+          sed 's/instance\\ Typeable\(1\|\)\(\\ [^\]*\)*\($$\|\\\\\)//g' | \
+          sed 's/instance\\ Exception\(\\ [^\]*\)*\($$\|\\\\\)//g' |  \
+          sed 's/instance\(\\ [^\]*\)*\\ \(WordPtr\|IntPtr\)\($$\|\\\\\)//g' |  \
+          sed 's/instance\\ (Data\(\\ [^\]*\)*\($$\|\\\\\)//g' >$$i.tmp \
+          && mv $$i.tmp $$i; done
+
+# NB. Haddock accumulates all instances including some for types and
+# classes that are not part of the Haskell standard, hence we remove
+# them manually here.  This seemed easier than trying to modify
+# Haddock to avoid generating them somehow.
index 43649e5..4e5b2b9 100644 (file)
@@ -11,7 +11,7 @@ module Control.Monad (
   ) where\end{verbatim}}
 \haddockendheader
 
   ) where\end{verbatim}}
 \haddockendheader
 
-The \haddocktt{Control.Monad} module provide the \haddockid{Functor}, \haddockid{Monad} and
+The \haddocktt{Control.Monad} module provides the \haddockid{Functor}, \haddockid{Monad} and
  \haddockid{MonadPlus} classes, together with some useful operations on monads.
 \par
 
  \haddockid{MonadPlus} classes, together with some useful operations on monads.
 \par
 
@@ -31,7 +31,7 @@ Instances of \haddockid{Functor} should satisfy the following laws:
 \end{verbatim}}
 \end{quote}
 The instances of \haddockid{Functor} for lists, \haddocktt{Data.Maybe.Maybe} and \haddocktt{System.IO.IO}
 \end{verbatim}}
 \end{quote}
 The instances of \haddockid{Functor} for lists, \haddocktt{Data.Maybe.Maybe} and \haddocktt{System.IO.IO}
-defined in the \haddocktt{Prelude} satisfy these laws.
+satisfy these laws.
 \par
 
 \haddockpremethods{}\textbf{Methods}
 \par
 
 \haddockpremethods{}\textbf{Methods}
@@ -43,7 +43,7 @@ fmap\ ::\ (a\ ->\ b)\ ->\ f\ a\ ->\ f\ b
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Functor\ {\char 91}{\char 93}\\instance\ Functor\ IO\\instance\ Functor\ ReadP\\instance\ Functor\ Maybe\\instance\ Ix\ i\ =>\ Functor\ (Array\ i)
+instance\ Functor\ {\char 91}{\char 93}\\instance\ Functor\ IO\\instance\ Functor\ Maybe\\instance\ Ix\ i\ =>\ Functor\ (Array\ i)
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -120,7 +120,7 @@ Fail with a message.  This operation is not part of the
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Monad\ {\char 91}{\char 93}\\instance\ Monad\ IO\\instance\ Monad\ P\\instance\ Monad\ ReadP\\instance\ Monad\ Maybe
+instance\ Monad\ {\char 91}{\char 93}\\instance\ Monad\ IO\\instance\ Monad\ Maybe
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -159,7 +159,7 @@ an associative operation
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ MonadPlus\ {\char 91}{\char 93}\\instance\ MonadPlus\ P\\instance\ MonadPlus\ ReadP\\instance\ MonadPlus\ Maybe
+instance\ MonadPlus\ {\char 91}{\char 93}\\instance\ MonadPlus\ Maybe
 \end{tabular}]
 \end{haddockdesc}
 \section{Functions
 \end{tabular}]
 \end{haddockdesc}
 \section{Functions
index 9af2f5e..ade053e 100644 (file)
@@ -226,6 +226,6 @@ An instance can define either this and \haddockid{rotateL} or the unified
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bits\ Int\\instance\ Bits\ Int8\\instance\ Bits\ Int16\\instance\ Bits\ Int32\\instance\ Bits\ Int64\\instance\ Bits\ Integer\\instance\ Bits\ Word\\instance\ Bits\ Word8\\instance\ Bits\ Word16\\instance\ Bits\ Word32\\instance\ Bits\ Word64\\instance\ Bits\ WordPtr\\instance\ Bits\ IntPtr\\instance\ Bits\ CChar\\instance\ Bits\ CSChar\\instance\ Bits\ CUChar\\instance\ Bits\ CShort\\instance\ Bits\ CUShort\\instance\ Bits\ CInt\\instance\ Bits\ CUInt\\instance\ Bits\ CLong\\instance\ Bits\ CULong\\instance\ Bits\ CLLong\\instance\ Bits\ CULLong\\instance\ Bits\ CPtrdiff\\instance\ Bits\ CSize\\instance\ Bits\ CWchar\\instance\ Bits\ CSigAtomic\\instance\ Bits\ CIntPtr\\instance\ Bits\ CUIntPtr\\instance\ Bits\ CIntMax\\instance\ Bits\ CUIntMax
+instance\ Bits\ Int\\instance\ Bits\ Int8\\instance\ Bits\ Int16\\instance\ Bits\ Int32\\instance\ Bits\ Int64\\instance\ Bits\ Integer\\instance\ Bits\ Word\\instance\ Bits\ Word8\\instance\ Bits\ Word16\\instance\ Bits\ Word32\\instance\ Bits\ Word64\\instance\ Bits\ CChar\\instance\ Bits\ CSChar\\instance\ Bits\ CUChar\\instance\ Bits\ CShort\\instance\ Bits\ CUShort\\instance\ Bits\ CInt\\instance\ Bits\ CUInt\\instance\ Bits\ CLong\\instance\ Bits\ CULong\\instance\ Bits\ CLLong\\instance\ Bits\ CULLong\\instance\ Bits\ CPtrdiff\\instance\ Bits\ CSize\\instance\ Bits\ CWchar\\instance\ Bits\ CSigAtomic\\instance\ Bits\ CIntPtr\\instance\ Bits\ CUIntPtr\\instance\ Bits\ CIntMax\\instance\ Bits\ CUIntMax
 \end{tabular}]
 \end{haddockdesc}
\ No newline at end of file
 \end{tabular}]
 \end{haddockdesc}
\ No newline at end of file
index 2a5d1a0..0c64ace 100644 (file)
@@ -29,7 +29,7 @@ For a complex number \haddocktt{z}, \haddocktt{abs\ z} is a number with the magn
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Typeable1\ Complex\\instance\ RealFloat\ a\ =>\ Eq\ (Complex\ a)\\instance\ RealFloat\ a\ =>\ Floating\ (Complex\ a)\\instance\ RealFloat\ a\ =>\ Fractional\ (Complex\ a)\\instance\ (Data\ a,\ RealFloat\ a)\ =>\ Data\ (Complex\ a)\\instance\ RealFloat\ a\ =>\ Num\ (Complex\ a)\\instance\ (Read\ a,\ RealFloat\ a)\ =>\ Read\ (Complex\ a)\\instance\ RealFloat\ a\ =>\ Show\ (Complex\ a)
+instance\ RealFloat\ a\ =>\ Eq\ (Complex\ a)\\instance\ RealFloat\ a\ =>\ Floating\ (Complex\ a)\\instance\ RealFloat\ a\ =>\ Fractional\ (Complex\ a)\\instance\ RealFloat\ a\ =>\ Num\ (Complex\ a)\\instance\ (Read\ a,\ RealFloat\ a)\ =>\ Read\ (Complex\ a)\\instance\ RealFloat\ a\ =>\ Show\ (Complex\ a)
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
index bcdb65d..c7d0be3 100644 (file)
@@ -90,7 +90,7 @@ Haskell type representing the C \haddocktt{char} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CChar\\instance\ Enum\ CChar\\instance\ Eq\ CChar\\instance\ Integral\ CChar\\instance\ Num\ CChar\\instance\ Ord\ CChar\\instance\ Read\ CChar\\instance\ Real\ CChar\\instance\ Show\ CChar\\instance\ Typeable\ CChar\\instance\ Storable\ CChar\\instance\ Bits\ CChar
+instance\ Bounded\ CChar\\instance\ Enum\ CChar\\instance\ Eq\ CChar\\instance\ Integral\ CChar\\instance\ Num\ CChar\\instance\ Ord\ CChar\\instance\ Read\ CChar\\instance\ Real\ CChar\\instance\ Show\ CChar\\instance\ Storable\ CChar\\instance\ Bits\ CChar
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -103,7 +103,7 @@ Haskell type representing the C \haddocktt{signed\ char} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CSChar\\instance\ Enum\ CSChar\\instance\ Eq\ CSChar\\instance\ Integral\ CSChar\\instance\ Num\ CSChar\\instance\ Ord\ CSChar\\instance\ Read\ CSChar\\instance\ Real\ CSChar\\instance\ Show\ CSChar\\instance\ Typeable\ CSChar\\instance\ Storable\ CSChar\\instance\ Bits\ CSChar
+instance\ Bounded\ CSChar\\instance\ Enum\ CSChar\\instance\ Eq\ CSChar\\instance\ Integral\ CSChar\\instance\ Num\ CSChar\\instance\ Ord\ CSChar\\instance\ Read\ CSChar\\instance\ Real\ CSChar\\instance\ Show\ CSChar\\instance\ Storable\ CSChar\\instance\ Bits\ CSChar
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -116,7 +116,7 @@ Haskell type representing the C \haddocktt{unsigned\ char} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CUChar\\instance\ Enum\ CUChar\\instance\ Eq\ CUChar\\instance\ Integral\ CUChar\\instance\ Num\ CUChar\\instance\ Ord\ CUChar\\instance\ Read\ CUChar\\instance\ Real\ CUChar\\instance\ Show\ CUChar\\instance\ Typeable\ CUChar\\instance\ Storable\ CUChar\\instance\ Bits\ CUChar
+instance\ Bounded\ CUChar\\instance\ Enum\ CUChar\\instance\ Eq\ CUChar\\instance\ Integral\ CUChar\\instance\ Num\ CUChar\\instance\ Ord\ CUChar\\instance\ Read\ CUChar\\instance\ Real\ CUChar\\instance\ Show\ CUChar\\instance\ Storable\ CUChar\\instance\ Bits\ CUChar
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -129,7 +129,7 @@ Haskell type representing the C \haddocktt{short} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CShort\\instance\ Enum\ CShort\\instance\ Eq\ CShort\\instance\ Integral\ CShort\\instance\ Num\ CShort\\instance\ Ord\ CShort\\instance\ Read\ CShort\\instance\ Real\ CShort\\instance\ Show\ CShort\\instance\ Typeable\ CShort\\instance\ Storable\ CShort\\instance\ Bits\ CShort
+instance\ Bounded\ CShort\\instance\ Enum\ CShort\\instance\ Eq\ CShort\\instance\ Integral\ CShort\\instance\ Num\ CShort\\instance\ Ord\ CShort\\instance\ Read\ CShort\\instance\ Real\ CShort\\instance\ Show\ CShort\\instance\ Storable\ CShort\\instance\ Bits\ CShort
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -142,7 +142,7 @@ Haskell type representing the C \haddocktt{unsigned\ short} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CUShort\\instance\ Enum\ CUShort\\instance\ Eq\ CUShort\\instance\ Integral\ CUShort\\instance\ Num\ CUShort\\instance\ Ord\ CUShort\\instance\ Read\ CUShort\\instance\ Real\ CUShort\\instance\ Show\ CUShort\\instance\ Typeable\ CUShort\\instance\ Storable\ CUShort\\instance\ Bits\ CUShort
+instance\ Bounded\ CUShort\\instance\ Enum\ CUShort\\instance\ Eq\ CUShort\\instance\ Integral\ CUShort\\instance\ Num\ CUShort\\instance\ Ord\ CUShort\\instance\ Read\ CUShort\\instance\ Real\ CUShort\\instance\ Show\ CUShort\\instance\ Storable\ CUShort\\instance\ Bits\ CUShort
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -155,7 +155,7 @@ Haskell type representing the C \haddocktt{int} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CInt\\instance\ Enum\ CInt\\instance\ Eq\ CInt\\instance\ Integral\ CInt\\instance\ Num\ CInt\\instance\ Ord\ CInt\\instance\ Read\ CInt\\instance\ Real\ CInt\\instance\ Show\ CInt\\instance\ Typeable\ CInt\\instance\ Storable\ CInt\\instance\ Bits\ CInt
+instance\ Bounded\ CInt\\instance\ Enum\ CInt\\instance\ Eq\ CInt\\instance\ Integral\ CInt\\instance\ Num\ CInt\\instance\ Ord\ CInt\\instance\ Read\ CInt\\instance\ Real\ CInt\\instance\ Show\ CInt\\instance\ Storable\ CInt\\instance\ Bits\ CInt
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -168,7 +168,7 @@ Haskell type representing the C \haddocktt{unsigned\ int} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CUInt\\instance\ Enum\ CUInt\\instance\ Eq\ CUInt\\instance\ Integral\ CUInt\\instance\ Num\ CUInt\\instance\ Ord\ CUInt\\instance\ Read\ CUInt\\instance\ Real\ CUInt\\instance\ Show\ CUInt\\instance\ Typeable\ CUInt\\instance\ Storable\ CUInt\\instance\ Bits\ CUInt
+instance\ Bounded\ CUInt\\instance\ Enum\ CUInt\\instance\ Eq\ CUInt\\instance\ Integral\ CUInt\\instance\ Num\ CUInt\\instance\ Ord\ CUInt\\instance\ Read\ CUInt\\instance\ Real\ CUInt\\instance\ Show\ CUInt\\instance\ Storable\ CUInt\\instance\ Bits\ CUInt
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -181,7 +181,7 @@ Haskell type representing the C \haddocktt{long} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CLong\\instance\ Enum\ CLong\\instance\ Eq\ CLong\\instance\ Integral\ CLong\\instance\ Num\ CLong\\instance\ Ord\ CLong\\instance\ Read\ CLong\\instance\ Real\ CLong\\instance\ Show\ CLong\\instance\ Typeable\ CLong\\instance\ Storable\ CLong\\instance\ Bits\ CLong
+instance\ Bounded\ CLong\\instance\ Enum\ CLong\\instance\ Eq\ CLong\\instance\ Integral\ CLong\\instance\ Num\ CLong\\instance\ Ord\ CLong\\instance\ Read\ CLong\\instance\ Real\ CLong\\instance\ Show\ CLong\\instance\ Storable\ CLong\\instance\ Bits\ CLong
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -194,7 +194,7 @@ Haskell type representing the C \haddocktt{unsigned\ long} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CULong\\instance\ Enum\ CULong\\instance\ Eq\ CULong\\instance\ Integral\ CULong\\instance\ Num\ CULong\\instance\ Ord\ CULong\\instance\ Read\ CULong\\instance\ Real\ CULong\\instance\ Show\ CULong\\instance\ Typeable\ CULong\\instance\ Storable\ CULong\\instance\ Bits\ CULong
+instance\ Bounded\ CULong\\instance\ Enum\ CULong\\instance\ Eq\ CULong\\instance\ Integral\ CULong\\instance\ Num\ CULong\\instance\ Ord\ CULong\\instance\ Read\ CULong\\instance\ Real\ CULong\\instance\ Show\ CULong\\instance\ Storable\ CULong\\instance\ Bits\ CULong
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -207,7 +207,7 @@ Haskell type representing the C \haddocktt{ptrdiff{\char '137}t} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CPtrdiff\\instance\ Enum\ CPtrdiff\\instance\ Eq\ CPtrdiff\\instance\ Integral\ CPtrdiff\\instance\ Num\ CPtrdiff\\instance\ Ord\ CPtrdiff\\instance\ Read\ CPtrdiff\\instance\ Real\ CPtrdiff\\instance\ Show\ CPtrdiff\\instance\ Typeable\ CPtrdiff\\instance\ Storable\ CPtrdiff\\instance\ Bits\ CPtrdiff
+instance\ Bounded\ CPtrdiff\\instance\ Enum\ CPtrdiff\\instance\ Eq\ CPtrdiff\\instance\ Integral\ CPtrdiff\\instance\ Num\ CPtrdiff\\instance\ Ord\ CPtrdiff\\instance\ Read\ CPtrdiff\\instance\ Real\ CPtrdiff\\instance\ Show\ CPtrdiff\\instance\ Storable\ CPtrdiff\\instance\ Bits\ CPtrdiff
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -220,7 +220,7 @@ Haskell type representing the C \haddocktt{size{\char '137}t} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CSize\\instance\ Enum\ CSize\\instance\ Eq\ CSize\\instance\ Integral\ CSize\\instance\ Num\ CSize\\instance\ Ord\ CSize\\instance\ Read\ CSize\\instance\ Real\ CSize\\instance\ Show\ CSize\\instance\ Typeable\ CSize\\instance\ Storable\ CSize\\instance\ Bits\ CSize
+instance\ Bounded\ CSize\\instance\ Enum\ CSize\\instance\ Eq\ CSize\\instance\ Integral\ CSize\\instance\ Num\ CSize\\instance\ Ord\ CSize\\instance\ Read\ CSize\\instance\ Real\ CSize\\instance\ Show\ CSize\\instance\ Storable\ CSize\\instance\ Bits\ CSize
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -233,7 +233,7 @@ Haskell type representing the C \haddocktt{wchar{\char '137}t} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CWchar\\instance\ Enum\ CWchar\\instance\ Eq\ CWchar\\instance\ Integral\ CWchar\\instance\ Num\ CWchar\\instance\ Ord\ CWchar\\instance\ Read\ CWchar\\instance\ Real\ CWchar\\instance\ Show\ CWchar\\instance\ Typeable\ CWchar\\instance\ Storable\ CWchar\\instance\ Bits\ CWchar
+instance\ Bounded\ CWchar\\instance\ Enum\ CWchar\\instance\ Eq\ CWchar\\instance\ Integral\ CWchar\\instance\ Num\ CWchar\\instance\ Ord\ CWchar\\instance\ Read\ CWchar\\instance\ Real\ CWchar\\instance\ Show\ CWchar\\instance\ Storable\ CWchar\\instance\ Bits\ CWchar
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -246,7 +246,7 @@ Haskell type representing the C \haddocktt{sig{\char '137}atomic{\char '137}t} t
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CSigAtomic\\instance\ Enum\ CSigAtomic\\instance\ Eq\ CSigAtomic\\instance\ Integral\ CSigAtomic\\instance\ Num\ CSigAtomic\\instance\ Ord\ CSigAtomic\\instance\ Read\ CSigAtomic\\instance\ Real\ CSigAtomic\\instance\ Show\ CSigAtomic\\instance\ Typeable\ CSigAtomic\\instance\ Storable\ CSigAtomic\\instance\ Bits\ CSigAtomic
+instance\ Bounded\ CSigAtomic\\instance\ Enum\ CSigAtomic\\instance\ Eq\ CSigAtomic\\instance\ Integral\ CSigAtomic\\instance\ Num\ CSigAtomic\\instance\ Ord\ CSigAtomic\\instance\ Read\ CSigAtomic\\instance\ Real\ CSigAtomic\\instance\ Show\ CSigAtomic\\instance\ Storable\ CSigAtomic\\instance\ Bits\ CSigAtomic
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -259,7 +259,7 @@ Haskell type representing the C \haddocktt{long\ long} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CLLong\\instance\ Enum\ CLLong\\instance\ Eq\ CLLong\\instance\ Integral\ CLLong\\instance\ Num\ CLLong\\instance\ Ord\ CLLong\\instance\ Read\ CLLong\\instance\ Real\ CLLong\\instance\ Show\ CLLong\\instance\ Typeable\ CLLong\\instance\ Storable\ CLLong\\instance\ Bits\ CLLong
+instance\ Bounded\ CLLong\\instance\ Enum\ CLLong\\instance\ Eq\ CLLong\\instance\ Integral\ CLLong\\instance\ Num\ CLLong\\instance\ Ord\ CLLong\\instance\ Read\ CLLong\\instance\ Real\ CLLong\\instance\ Show\ CLLong\\instance\ Storable\ CLLong\\instance\ Bits\ CLLong
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -272,7 +272,7 @@ Haskell type representing the C \haddocktt{unsigned\ long\ long} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CULLong\\instance\ Enum\ CULLong\\instance\ Eq\ CULLong\\instance\ Integral\ CULLong\\instance\ Num\ CULLong\\instance\ Ord\ CULLong\\instance\ Read\ CULLong\\instance\ Real\ CULLong\\instance\ Show\ CULLong\\instance\ Typeable\ CULLong\\instance\ Storable\ CULLong\\instance\ Bits\ CULLong
+instance\ Bounded\ CULLong\\instance\ Enum\ CULLong\\instance\ Eq\ CULLong\\instance\ Integral\ CULLong\\instance\ Num\ CULLong\\instance\ Ord\ CULLong\\instance\ Read\ CULLong\\instance\ Real\ CULLong\\instance\ Show\ CULLong\\instance\ Storable\ CULLong\\instance\ Bits\ CULLong
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -282,7 +282,7 @@ data\ CIntPtr
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CIntPtr\\instance\ Enum\ CIntPtr\\instance\ Eq\ CIntPtr\\instance\ Integral\ CIntPtr\\instance\ Num\ CIntPtr\\instance\ Ord\ CIntPtr\\instance\ Read\ CIntPtr\\instance\ Real\ CIntPtr\\instance\ Show\ CIntPtr\\instance\ Typeable\ CIntPtr\\instance\ Storable\ CIntPtr\\instance\ Bits\ CIntPtr
+instance\ Bounded\ CIntPtr\\instance\ Enum\ CIntPtr\\instance\ Eq\ CIntPtr\\instance\ Integral\ CIntPtr\\instance\ Num\ CIntPtr\\instance\ Ord\ CIntPtr\\instance\ Read\ CIntPtr\\instance\ Real\ CIntPtr\\instance\ Show\ CIntPtr\\instance\ Storable\ CIntPtr\\instance\ Bits\ CIntPtr
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -292,7 +292,7 @@ data\ CUIntPtr
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CUIntPtr\\instance\ Enum\ CUIntPtr\\instance\ Eq\ CUIntPtr\\instance\ Integral\ CUIntPtr\\instance\ Num\ CUIntPtr\\instance\ Ord\ CUIntPtr\\instance\ Read\ CUIntPtr\\instance\ Real\ CUIntPtr\\instance\ Show\ CUIntPtr\\instance\ Typeable\ CUIntPtr\\instance\ Storable\ CUIntPtr\\instance\ Bits\ CUIntPtr
+instance\ Bounded\ CUIntPtr\\instance\ Enum\ CUIntPtr\\instance\ Eq\ CUIntPtr\\instance\ Integral\ CUIntPtr\\instance\ Num\ CUIntPtr\\instance\ Ord\ CUIntPtr\\instance\ Read\ CUIntPtr\\instance\ Real\ CUIntPtr\\instance\ Show\ CUIntPtr\\instance\ Storable\ CUIntPtr\\instance\ Bits\ CUIntPtr
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -302,7 +302,7 @@ data\ CIntMax
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CIntMax\\instance\ Enum\ CIntMax\\instance\ Eq\ CIntMax\\instance\ Integral\ CIntMax\\instance\ Num\ CIntMax\\instance\ Ord\ CIntMax\\instance\ Read\ CIntMax\\instance\ Real\ CIntMax\\instance\ Show\ CIntMax\\instance\ Typeable\ CIntMax\\instance\ Storable\ CIntMax\\instance\ Bits\ CIntMax
+instance\ Bounded\ CIntMax\\instance\ Enum\ CIntMax\\instance\ Eq\ CIntMax\\instance\ Integral\ CIntMax\\instance\ Num\ CIntMax\\instance\ Ord\ CIntMax\\instance\ Read\ CIntMax\\instance\ Real\ CIntMax\\instance\ Show\ CIntMax\\instance\ Storable\ CIntMax\\instance\ Bits\ CIntMax
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -312,7 +312,7 @@ data\ CUIntMax
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Bounded\ CUIntMax\\instance\ Enum\ CUIntMax\\instance\ Eq\ CUIntMax\\instance\ Integral\ CUIntMax\\instance\ Num\ CUIntMax\\instance\ Ord\ CUIntMax\\instance\ Read\ CUIntMax\\instance\ Real\ CUIntMax\\instance\ Show\ CUIntMax\\instance\ Typeable\ CUIntMax\\instance\ Storable\ CUIntMax\\instance\ Bits\ CUIntMax
+instance\ Bounded\ CUIntMax\\instance\ Enum\ CUIntMax\\instance\ Eq\ CUIntMax\\instance\ Integral\ CUIntMax\\instance\ Num\ CUIntMax\\instance\ Ord\ CUIntMax\\instance\ Read\ CUIntMax\\instance\ Real\ CUIntMax\\instance\ Show\ CUIntMax\\instance\ Storable\ CUIntMax\\instance\ Bits\ CUIntMax
 \end{tabular}]
 \end{haddockdesc}
 \subsection{Numeric types
 \end{tabular}]
 \end{haddockdesc}
 \subsection{Numeric types
@@ -333,7 +333,7 @@ Haskell type representing the C \haddocktt{clock{\char '137}t} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Enum\ CClock\\instance\ Eq\ CClock\\instance\ Num\ CClock\\instance\ Ord\ CClock\\instance\ Read\ CClock\\instance\ Real\ CClock\\instance\ Show\ CClock\\instance\ Typeable\ CClock\\instance\ Storable\ CClock
+instance\ Enum\ CClock\\instance\ Eq\ CClock\\instance\ Num\ CClock\\instance\ Ord\ CClock\\instance\ Read\ CClock\\instance\ Real\ CClock\\instance\ Show\ CClock\\instance\ Storable\ CClock
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -353,7 +353,7 @@ To convert to a \haddocktt{Data.Time.UTCTime}, use the following formula:
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Enum\ CTime\\instance\ Eq\ CTime\\instance\ Num\ CTime\\instance\ Ord\ CTime\\instance\ Read\ CTime\\instance\ Real\ CTime\\instance\ Show\ CTime\\instance\ Typeable\ CTime\\instance\ Storable\ CTime
+instance\ Enum\ CTime\\instance\ Eq\ CTime\\instance\ Num\ CTime\\instance\ Ord\ CTime\\instance\ Read\ CTime\\instance\ Real\ CTime\\instance\ Show\ CTime\\instance\ Storable\ CTime
 \end{tabular}]
 \end{haddockdesc}
 \subsection{Floating types
 \end{tabular}]
 \end{haddockdesc}
 \subsection{Floating types
@@ -376,7 +376,7 @@ Haskell type representing the C \haddocktt{float} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Enum\ CFloat\\instance\ Eq\ CFloat\\instance\ Floating\ CFloat\\instance\ Fractional\ CFloat\\instance\ Num\ CFloat\\instance\ Ord\ CFloat\\instance\ Read\ CFloat\\instance\ Real\ CFloat\\instance\ RealFloat\ CFloat\\instance\ RealFrac\ CFloat\\instance\ Show\ CFloat\\instance\ Typeable\ CFloat\\instance\ Storable\ CFloat
+instance\ Enum\ CFloat\\instance\ Eq\ CFloat\\instance\ Floating\ CFloat\\instance\ Fractional\ CFloat\\instance\ Num\ CFloat\\instance\ Ord\ CFloat\\instance\ Read\ CFloat\\instance\ Real\ CFloat\\instance\ RealFloat\ CFloat\\instance\ RealFrac\ CFloat\\instance\ Show\ CFloat\\instance\ Storable\ CFloat
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
@@ -389,7 +389,7 @@ Haskell type representing the C \haddocktt{double} type.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Enum\ CDouble\\instance\ Eq\ CDouble\\instance\ Floating\ CDouble\\instance\ Fractional\ CDouble\\instance\ Num\ CDouble\\instance\ Ord\ CDouble\\instance\ Read\ CDouble\\instance\ Real\ CDouble\\instance\ RealFloat\ CDouble\\instance\ RealFrac\ CDouble\\instance\ Show\ CDouble\\instance\ Typeable\ CDouble\\instance\ Storable\ CDouble
+instance\ Enum\ CDouble\\instance\ Eq\ CDouble\\instance\ Floating\ CDouble\\instance\ Fractional\ CDouble\\instance\ Num\ CDouble\\instance\ Ord\ CDouble\\instance\ Read\ CDouble\\instance\ Real\ CDouble\\instance\ RealFloat\ CDouble\\instance\ RealFrac\ CDouble\\instance\ Show\ CDouble\\instance\ Storable\ CDouble
 \end{tabular}]
 \end{haddockdesc}
 \subsection{Other types
 \end{tabular}]
 \end{haddockdesc}
 \subsection{Other types
index e3f060c..4266885 100644 (file)
@@ -37,7 +37,7 @@ The \haddockid{ForeignPtr} is parameterised in the same way as \haddockid{Ptr}.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Typeable1\ ForeignPtr\\instance\ Eq\ (ForeignPtr\ a)\\instance\ Ord\ (ForeignPtr\ a)\\instance\ Show\ (ForeignPtr\ a)
+instance\ Eq\ (ForeignPtr\ a)\\instance\ Ord\ (ForeignPtr\ a)\\instance\ Show\ (ForeignPtr\ a)
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
index b093994..6f0bbbc 100644 (file)
@@ -160,6 +160,6 @@ Write the given value to the given memory location.  Alignment
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Storable\ Bool\\instance\ Storable\ Char\\instance\ Storable\ Double\\instance\ Storable\ Float\\instance\ Storable\ Int\\instance\ Storable\ Int8\\instance\ Storable\ Int16\\instance\ Storable\ Int32\\instance\ Storable\ Int64\\instance\ Storable\ Word\\instance\ Storable\ Word8\\instance\ Storable\ Word16\\instance\ Storable\ Word32\\instance\ Storable\ Word64\\instance\ Storable\ WordPtr\\instance\ Storable\ IntPtr\\instance\ Storable\ CChar\\instance\ Storable\ CSChar\\instance\ Storable\ CUChar\\instance\ Storable\ CShort\\instance\ Storable\ CUShort\\instance\ Storable\ CInt\\instance\ Storable\ CUInt\\instance\ Storable\ CLong\\instance\ Storable\ CULong\\instance\ Storable\ CLLong\\instance\ Storable\ CULLong\\instance\ Storable\ CFloat\\instance\ Storable\ CDouble\\instance\ Storable\ CPtrdiff\\instance\ Storable\ CSize\\instance\ Storable\ CWchar\\instance\ Storable\ CSigAtomic\\instance\ Storable\ CClock\\instance\ Storable\ CTime\\instance\ Storable\ CIntPtr\\instance\ Storable\ CUIntPtr\\instance\ Storable\ CIntMax\\instance\ Storable\ CUIntMax\\instance\ Storable\ (StablePtr\ a)\\instance\ Storable\ (Ptr\ a)\\instance\ Storable\ (FunPtr\ a)
+instance\ Storable\ Bool\\instance\ Storable\ Char\\instance\ Storable\ Double\\instance\ Storable\ Float\\instance\ Storable\ Int\\instance\ Storable\ Int8\\instance\ Storable\ Int16\\instance\ Storable\ Int32\\instance\ Storable\ Int64\\instance\ Storable\ Word\\instance\ Storable\ Word8\\instance\ Storable\ Word16\\instance\ Storable\ Word32\\instance\ Storable\ Word64\\instance\ Storable\ CChar\\instance\ Storable\ CSChar\\instance\ Storable\ CUChar\\instance\ Storable\ CShort\\instance\ Storable\ CUShort\\instance\ Storable\ CInt\\instance\ Storable\ CUInt\\instance\ Storable\ CLong\\instance\ Storable\ CULong\\instance\ Storable\ CLLong\\instance\ Storable\ CULLong\\instance\ Storable\ CFloat\\instance\ Storable\ CDouble\\instance\ Storable\ CPtrdiff\\instance\ Storable\ CSize\\instance\ Storable\ CWchar\\instance\ Storable\ CSigAtomic\\instance\ Storable\ CClock\\instance\ Storable\ CTime\\instance\ Storable\ CIntPtr\\instance\ Storable\ CUIntPtr\\instance\ Storable\ CIntMax\\instance\ Storable\ CUIntMax\\instance\ Storable\ (StablePtr\ a)\\instance\ Storable\ (Ptr\ a)\\instance\ Storable\ (FunPtr\ a)
 \end{tabular}]
 \end{haddockdesc}
\ No newline at end of file
 \end{tabular}]
 \end{haddockdesc}
\ No newline at end of file
index c5197ee..47e0650 100644 (file)
@@ -26,7 +26,7 @@ Defines the exit codes that a program can return.
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Eq\ ExitCode\\instance\ Ord\ ExitCode\\instance\ Read\ ExitCode\\instance\ Show\ ExitCode\\instance\ Typeable\ ExitCode\\instance\ Exception\ ExitCode
+instance\ Eq\ ExitCode\\instance\ Ord\ ExitCode\\instance\ Read\ ExitCode\\instance\ Show\ ExitCode\\
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
 \end{tabular}]
 \end{haddockdesc}
 \begin{haddockdesc}
index dbe5c69..04f8ef4 100644 (file)
@@ -107,7 +107,7 @@ Most handles will also have a current I/O position indicating where the next
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
 \end{haddockdesc}
 \begin{haddockdesc}
 \item[\begin{tabular}{@{}l}
-instance\ Eq\ Handle\\instance\ Show\ Handle\\instance\ Typeable\ Handle
+instance\ Eq\ Handle\\instance\ Show\ Handle\\
 \end{tabular}]
 \end{haddockdesc}
 \subsection{Standard handles
 \end{tabular}]
 \end{haddockdesc}
 \subsection{Standard handles