projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87945ab
)
deriving (Eq, Ord, Enum, Show, Read, Typeab) for ConsoleEvent
author
Simon Marlow
<simonmar@microsoft.com>
Fri, 1 Dec 2006 14:40:32 +0000
(14:40 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Fri, 1 Dec 2006 14:40:32 +0000
(14:40 +0000)
GHC/ConsoleHandler.hs
patch
|
blob
|
history
diff --git
a/GHC/ConsoleHandler.hs
b/GHC/ConsoleHandler.hs
index
1654163
..
7435b92
100644
(file)
--- a/
GHC/ConsoleHandler.hs
+++ b/
GHC/ConsoleHandler.hs
@@
-36,6
+36,7
@@
import Foreign
import Foreign.C
import GHC.IOBase
import GHC.Handle
+import Data.Typeable
data Handler
= Default
@@
-49,6
+50,7
@@
data ConsoleEvent
-- these are sent to Services only.
| Logoff
| Shutdown
+ deriving (Eq, Ord, Enum, Show, Read, Typeable)
installHandler :: Handler -> IO Handler
installHandler handler =