
#9360: GHCi: Behave nicely on `-e`, like `ghc` and other programs -------------------------------------+------------------------------------- Reporter: mcandre | Owner: Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.8.2 Component: Compiler | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by mcandre): Either of two behaviors would be great: * Just the expression evaluates, prints, and the user is returned to the terminal shell prompt. * The expression becomes the first thing run and printed in a normal ghci session. I don't mind which of these happens, as long as ghc does one of them. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9360#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler