shithub: MicroHs

ref: 4684ef5c92371024f7a8ae867fd60ff5eb6e98f5
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)