[GHC] #9360: GHCi: Behave nicely on `-e`, like `ghc` and other programs

GHC ghc-devs at haskell.org
Thu Mar 19 10:29:42 UTC 2015


#9360: GHCi: Behave nicely on `-e`, like `ghc` and other programs
-------------------------------------+-------------------------------------
        Reporter:  mcandre           |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  GHCi              |                 Version:  7.8.2
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by lukyanov):

 With my patch {{{ghci -e}}} will simply behave like {{{ghc -e}}}.
 Example:
 {{{
 $ ./ghc-stage2 --interactive -e "2^10"
 1024
 $ ./ghc-stage2 -e "2^10" --interactive
 1024
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9360#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list