Skip to content
Snippets Groups Projects
Commit 26133f73 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

[project @ 2000-08-29 16:37:35 by simonpj]

Remove redundant imports and dead code
parent b274a9d6
No related merge requests found
% ------------------------------------------------------------------------------
% $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
......
% ------------------------------------------------------------------------------
% $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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment