base-4.7.0.1: Basic libraries

Copyright(c) The University of Glasgow 2001
LicenseBSD-style (see the file libraries/base/LICENSE)
Maintainerlibraries@haskell.org
Stabilityexperimental
Portabilitynon-portable (requires universal quantification for runST)
Safe HaskellUnsafe
LanguageHaskell2010

Control.Monad.ST.Unsafe

Contents

Description

This library provides support for strict state threads, as described in the PLDI '94 paper by John Launchbury and Simon Peyton Jones Lazy Functional State Threads.

Unsafe API.

Synopsis

Unsafe operations

unsafeIOToST :: IO a -> ST s a Source

unsafeSTToIO :: ST s a -> IO a Source