shithub: MicroHs

ref: b352d4fef682acc3e15506cc026e5ca46d08fcee
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)