Skip to content
Snippets Groups Projects
Commit 43c32eb6 authored by sof's avatar sof
Browse files

[project @ 1999-03-26 19:43:43 by sof]

re-export PrelGHC.assert
parent c3a20f9d
No related merge requests found
% -----------------------------------------------------------------------------
% $Id: Exception.lhs,v 1.6 1999/03/16 13:20:11 simonm Exp $
% $Id: Exception.lhs,v 1.7 1999/03/26 19:43:43 sof Exp $
%
% (c) The GRAP/AQUA Project, Glasgow University, 1998
%
......@@ -42,6 +42,10 @@ module Exception (
throwDyn, -- :: Typeable ex => ex -> b
catchDyn, -- :: Typeable ex => IO a -> (ex -> IO a) -> IO a
-- Assertions
assert, -- :: Bool -> a -> a
-- Utilities
......@@ -57,7 +61,7 @@ import PreludeBuiltin hiding (catch)
import Prelude hiding (catch)
#else
import Prelude hiding (catch)
import PrelGHC (catch#)
import PrelGHC (catch#, assert)
import PrelException hiding (catch)
import PrelConc ( raiseInThread )
#endif
......
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