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:
04f9c68
)
Removed Show instance for IOCallback and FdData The IOCallback instance conflicts...
author
Bas van Dijk
<v.dijk.bas@gmail.com>
Mon, 4 Apr 2011 18:53:24 +0000
(20:53 +0200)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 7 Apr 2011 18:32:06 +0000
(19:32 +0100)
GHC/Event/Manager.hs
patch
|
blob
|
history
diff --git
a/GHC/Event/Manager.hs
b/GHC/Event/Manager.hs
index
bb7379c
..
055d0c7
100644
(file)
--- a/
GHC/Event/Manager.hs
+++ b/
GHC/Event/Manager.hs
@@
-90,7
+90,7
@@
data FdData = FdData {
fdKey :: {-# UNPACK #-} !FdKey
, fdEvents :: {-# UNPACK #-} !Event
, _fdCallback :: !IOCallback
- } deriving (Show)
+ }
-- | A file descriptor registration cookie.
data FdKey = FdKey {
@@
-101,9
+101,6
@@
data FdKey = FdKey {
-- | Callback invoked on I/O events.
type IOCallback = FdKey -> Event -> IO ()
-instance Show IOCallback where
- show _ = "IOCallback"
-
-- | A timeout registration cookie.
newtype TimeoutKey = TK Unique
deriving (Eq)