[project @ 2000-08-29 16:37:35 by simonpj]
authorsimonpj <unknown>
Tue, 29 Aug 2000 16:37:35 +0000 (16:37 +0000)
committersimonpj <unknown>
Tue, 29 Aug 2000 16:37:35 +0000 (16:37 +0000)
Remove redundant imports and dead code

ghc/lib/std/PrelFloat.lhs
ghc/lib/std/PrelHandle.lhs

index de8727b..3d202c7 100644 (file)
@@ -1,5 +1,5 @@
 % ------------------------------------------------------------------------------
-% $Id: PrelFloat.lhs,v 1.8 2000/06/30 13:39:35 simonmar Exp $
+% $Id: PrelFloat.lhs,v 1.9 2000/08/29 16:37:35 simonpj Exp $
 %
 % (c) The University of Glasgow, 1994-2000
 %
@@ -24,7 +24,6 @@ and the classes
 
 module PrelFloat( module PrelFloat, Float#, Double# )  where
 
-import {-# SOURCE #-} PrelErr
 import PrelBase
 import PrelList
 import PrelEnum
index 2e46e84..63e8f7e 100644 (file)
@@ -1,5 +1,5 @@
 % ------------------------------------------------------------------------------
-% $Id: PrelHandle.lhs,v 1.60 2000/07/25 15:20:10 simonmar Exp $
+% $Id: PrelHandle.lhs,v 1.61 2000/08/29 16:37:35 simonpj Exp $
 %
 % (c) The AQUA Project, Glasgow University, 1994-2000
 %
@@ -1088,12 +1088,6 @@ wantSeekableHandle fun handle act =
       ClosedHandle        -> ioe_closedHandle fun handle
       SemiClosedHandle    -> ioe_closedHandle fun handle
       _                   -> act handle_
-  where
-   not_seekable_error = 
-          IOException (IOError (Just handle) 
-                               IllegalOperation fun
-                               ("handle is not seekable"))
-
 \end{code}
 
 Internal function for creating an @IOError@ representing the