Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- onWindows :: Bool
- defaultInterruptHandler :: IO (IO ())
- withInterruptHandler :: IO () -> IO a -> IO a
Documentation
defaultInterruptHandler :: IO (IO ()) Source #
Constructs a default interrupt handler which builds an interrupt handler which throws a UserInterrupt exception to the thread in which the setup was initially called.