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:
f2e3677
)
Remove a redundant fromIntegral
author
Ian Lynagh
<igloo@earth.li>
Sat, 20 Nov 2010 18:58:37 +0000
(18:58 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 20 Nov 2010 18:58:37 +0000
(18:58 +0000)
GHC/Conc/Windows.hs
patch
|
blob
|
history
diff --git
a/GHC/Conc/Windows.hs
b/GHC/Conc/Windows.hs
index
14139b7
..
b750185
100644
(file)
--- a/
GHC/Conc/Windows.hs
+++ b/
GHC/Conc/Windows.hs
@@
-104,7
+104,7
@@
threadDelay :: Int -> IO ()
threadDelay time
| threaded = waitForDelayEvent time
| otherwise = IO $ \s ->
- case fromIntegral time of { I# time# ->
+ case time of { I# time# ->
case delay# time# s of { s' -> (# s', () #)
}}