X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=GHC%2FTopHandler.lhs;h=03e54632107e9a76790188ee79b83d4ae5648b06;hb=4618e6c0c7859a3f3407e0f5eb62f1be25d2adb2;hp=691af142184aa1056e9c66371f4626dc198b0f9b;hpb=ee695cc16336b7f2a6bca5bc74606c702837361d;p=ghc-base.git diff --git a/GHC/TopHandler.lhs b/GHC/TopHandler.lhs index 691af14..03e5463 100644 --- a/GHC/TopHandler.lhs +++ b/GHC/TopHandler.lhs @@ -9,9 +9,8 @@ -- Stability : internal -- Portability : non-portable (GHC Extensions) -- --- Top-level IO actions want to catch exceptions (e.g., 'forkIO' and --- 'GHC.Main.mainIO') and report them - 'topHandler' is the exception --- handler they should use for this. +-- Support for catching exceptions raised during top-level computations +-- (e.g. @Main.main@, 'Control.Concurrent.forkIO', and foreign exports) -- -----------------------------------------------------------------------------