X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghci%2FGhciMonad.hs;h=63c2af76f82a75b0afcba94ac785625c43c38e25;hb=aee2068e034aca6ddaf6f20f85902137ecf718b7;hp=e5368416ebe0c760350d8761ad297bad18de62aa;hpb=8a400d0b37b94e4189257a2824e03f8fb6cfa333;p=ghc-hetmet.git diff --git a/compiler/ghci/GhciMonad.hs b/compiler/ghci/GhciMonad.hs index e536841..63c2af7 100644 --- a/compiler/ghci/GhciMonad.hs +++ b/compiler/ghci/GhciMonad.hs @@ -1,3 +1,11 @@ +----------------------------------------------------------------------------- +-- +-- Monadery code used in InteractiveUI +-- +-- (c) The GHC Team 2005-2006 +-- +----------------------------------------------------------------------------- + module GhciMonad where #include "HsVersions.h" @@ -124,6 +132,8 @@ showForUser doc = do data InfSessionException = StopChildSession -- A child session requests to be stopped + | StopParentSession -- A child session requests to be stopped + -- AND that the parent session quits after that | ChildSessionStopped String -- A child session has stopped deriving Typeable