shithub: MicroHs

ref: 6a67714e02cd9cd49377591c39f03bb1f06814f7
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)