[GHC] #10663: ghci ignores stuff after an import command and a semicolon

GHC ghc-devs at haskell.org
Tue Jul 28 21:27:49 UTC 2015


#10663: ghci ignores stuff after an import command and a semicolon
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  GHCi              |                 Version:  7.10.1
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  GHC accepts       |  Unknown/Multiple
  invalid program                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 That is a single `let`-command, `let { add = (+); infixl 6 `add` }`. You
 can write `do x; y` too, same logic.

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


More information about the ghc-tickets mailing list