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:
9fde003
)
Remove a gratuitous pattern type sig
author
Ian Lynagh
<igloo@earth.li>
Fri, 21 Mar 2008 01:13:56 +0000
(
01:13
+0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 21 Mar 2008 01:13:56 +0000
(
01:13
+0000)
GHC/IO.hs
patch
|
blob
|
history
diff --git
a/GHC/IO.hs
b/GHC/IO.hs
index
5d88dc1
..
b4d5354
100644
(file)
--- a/
GHC/IO.hs
+++ b/
GHC/IO.hs
@@
-944,7
+944,7
@@
foreign import ccall unsafe "__hscore_memcpy_dst_off"
-- Internal Utils
illegalBufferSize :: Handle -> String -> Int -> IO a
-illegalBufferSize handle fn (sz :: Int) =
+illegalBufferSize handle fn sz =
ioException (IOError (Just handle)
InvalidArgument fn
("illegal buffer size " ++ showsPrec 9 sz [])