packages feed

MicroHs-0.17.4.0 / lib / Control / Monad / ST_Type.hs

-- This module should not be imported!module Control.Monad.ST_Type(  ST(..), unST,  ) whereimport qualified Prelude()              -- do not import Preludeimport Primitives(IO)import {-# SOURCE #-} Data.Typeable-- The ST monad is implemented with the IO monad.newtype ST s a = ST (IO a)unST :: ST s a -> IO aunST (ST io) = io