X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2FGhciMonad.hs;h=779fad23e97d26b26175f0ddca195c26e5c7f18b;hb=27934996c8eb8082fec9076a3038dd4a4d0d2b16;hp=863372ff4a385fb9232c7dab39bbd680db9a5049;hpb=0eca7e0b307c5862212c9eebfc69af9743ef06f3;p=ghc-hetmet.git diff --git a/ghc/GhciMonad.hs b/ghc/GhciMonad.hs index 863372f..779fad2 100644 --- a/ghc/GhciMonad.hs +++ b/ghc/GhciMonad.hs @@ -77,7 +77,8 @@ data GHCiState = GHCiState ghc_e :: Bool -- True if this is 'ghc -e' (or runghc) } -data CtxtCmd +data CtxtCmd -- In each case, the first [String] are the starred modules + -- and the second are the unstarred ones = SetContext [String] [String] | AddModules [String] [String] | RemModules [String] [String] @@ -89,6 +90,7 @@ data GHCiOption = ShowTiming -- show time/allocs after evaluation | ShowType -- show the type of expressions | RevertCAFs -- revert CAFs after every evaluation + | Multiline -- use multiline commands deriving Eq data BreakLocation