shithub: MicroHs

ref: 1e6ea1dcb26bf62ba70cab2d3e756e4f85cda625
dir: /lib/System/IO/Unsafe.hs/

View raw version
module System.IO.Unsafe(unsafePerformIO, unsafeInterleaveIO) where
import Prelude()
import Primitives

unsafePerformIO :: IO a -> a
unsafePerformIO = primPerformIO

unsafeInterleaveIO :: forall a . IO a -> IO a
unsafeInterleaveIO ioa = primReturn (primPerformIO ioa)