
19 Sep
2003
19 Sep
'03
5:36 a.m.
In article <20030919000856.GA1240@soi.city.ac.uk>,
Ross Paterson
How does Hugs do fixIO?
It's nothing deep:
Oh, you've just moved the cleverness to unsafePerformIO, presumably: newtype IO a = IO ((a -> IOResult) -> IOResult) unsafePerformIO :: IO a -> a unsafePerformIO (IO f) = unsafeCast (f unsafeCast) -- Ashley Yakeley, Seattle WA