cvs commit: fptools/ghc/compiler/prelude PrelNames.lhs
fptools/libraries/base Makefile fptools/libraries/base/Control
Exception.hs fptools/libraries/base/Data Typeable.hs Types.hs Array.hs
Complex.hs Dynamic.hs Generics.hs PackedString.hs STRef.hs ...
References: <200307241220.FAA29847@glass.cse.ogi.edu>
<20030724134745.GA3530@soi.city.ac.uk>
Ralf Laemmel
Ralf.Laemmel@cwi.nl
Fri, 25 Jul 2003 10:57:27 +0200
Ross Paterson wrote:
>
> Minor point: the definition of Data.Typeable.sameType is GHC-specific.
> It could be
>
> sameType tva tvb = typeOf (undefinedType tva) == typeOf (undefinedType tvb)
>
> but does this belong in Data.Typeable? It forces an import of Data.Types,
> which puts that module below the Prelude.
I fixed this.
(For some reason my commit does not appear at cvs-ghc
but it is in the log see below.)
revision 1.3
date: 2003/07/24 16:24:21; author: ralf; state: Exp; lines: +79 -11
Addressed Ross' concerns as follows:
Included all of Data/Types.hs into Data/Typeable.hs.
It really makes sense there anyway.
--
Ralf Laemmel
VU & CWI, Amsterdam, The Netherlands
http://www.cs.vu.nl/~ralf/
http://www.cwi.nl/~ralf/