Update base for latest Safe Haskell.
[packages/base.git] / Control / Monad / ST / Unsafe.hs
1 {-# LANGUAGE Unsafe #-}
2
3 -----------------------------------------------------------------------------
4 -- |
5 -- Module : Control.Monad.ST.Unsafe
6 -- Copyright : (c) The University of Glasgow 2001
7 -- License : BSD-style (see the file libraries/base/LICENSE)
8 --
9 -- Maintainer : libraries@haskell.org
10 -- Stability : experimental
11 -- Portability : non-portable (requires universal quantification for runST)
12 --
13 -- This library provides support for /strict/ state threads, as
14 -- described in the PLDI \'94 paper by John Launchbury and Simon Peyton
15 -- Jones /Lazy Functional State Threads/.
16 --
17 -- Unsafe API.
18 --
19 -----------------------------------------------------------------------------
20
21 module Control.Monad.ST.Unsafe (
22 -- * Unsafe operations
23 unsafeInterleaveST,
24 unsafeIOToST,
25 unsafeSTToIO
26 ) where
27
28 import Control.Monad.ST.Imp
29