haskell / 9 / libraries / ghci-9.4.2 / ghci-signals.html

GHCi.Signals

Safe Haskell Safe-Inferred
Language Haskell2010

installSignalHandlers :: IO () Source

Install standard signal handlers for catching ^C, which just throw an exception in the target thread. The current target thread is the thread at the head of the list in the MVar passed to installSignalHandlers.

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/9.4.2/docs/libraries/ghci-9.4.2/GHCi-Signals.html