-----------------------------------------------------------------------------
---
+-- |
-- Module : Control.Monad.ST
-- Copyright : (c) The University of Glasgow 2001
-- License : BSD-style (see the file libraries/core/LICENSE)
-- Stability : experimental
-- Portability : non-portable (requires universal quantification for runST)
--
--- $Id: ST.hs,v 1.4 2001/07/31 13:31:44 simonmar Exp $
---
-- The State Transformer Monad, ST
--
-----------------------------------------------------------------------------
#ifdef __GLASGOW_HASKELL__
import GHC.ST
-import GHC.Prim ( unsafeCoerce#, RealWorld )
+import GHC.Base ( unsafeCoerce#, RealWorld )
import GHC.IOBase ( IO(..), stToIO )
-- This relies on IO and ST having the same representation modulo the