projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4c311d7
)
For nhc98, import unsafeInterleaveIO rather than defining it here.
author
Malcolm.Wallace@cs.york.ac.uk
<unknown>
Thu, 4 Feb 2010 17:10:21 +0000
(17:10 +0000)
committer
Malcolm.Wallace@cs.york.ac.uk
<unknown>
Thu, 4 Feb 2010 17:10:21 +0000
(17:10 +0000)
System/IO/Unsafe.hs
patch
|
blob
|
history
diff --git
a/System/IO/Unsafe.hs
b/System/IO/Unsafe.hs
index
3a3e7f6
..
05f2c7b
100644
(file)
--- a/
System/IO/Unsafe.hs
+++ b/
System/IO/Unsafe.hs
@@
-28,10
+28,6
@@
import Hugs.IOExts (unsafePerformIO, unsafeInterleaveIO)
#endif
#ifdef __NHC__
#endif
#ifdef __NHC__
-import NHC.Internal (unsafePerformIO)
+import NHC.Internal (unsafePerformIO, unsafeInterleaveIO)
#endif
#endif
-#if !__GLASGOW_HASKELL__ && !__HUGS__
-unsafeInterleaveIO :: IO a -> IO a
-unsafeInterleaveIO f = return (unsafePerformIO f)
-#endif