Control.Monad.ST.Lazy.Unsafe

Copyright (c) The University of Glasgow 2001
License BSD-style (see the file libraries/base/LICENSE)
Maintainer [email protected]
Stability provisional
Portability non-portable (requires universal quantification for runST)
Safe Haskell Unsafe
Language Haskell2010

Description

This module presents an identical interface to Control.Monad.ST, except that the monad delays evaluation of state operations until a value depending on them is required.

Unsafe API.

Unsafe operations

unsafeInterleaveST :: ST s a -> ST s a Source

unsafeIOToST :: IO a -> ST s a Source

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/7.10.3/docs/html/libraries/base-4.8.2.0/Control-Monad-ST-Lazy-Unsafe.html