[GHC] #7625: Semicolon is not handled between imports at the ghci command prompt

GHC cvs-ghc at haskell.org
Sun Jan 27 19:37:02 CET 2013


#7625: Semicolon is not handled between imports at the ghci command prompt
-------------------------------+--------------------------------------------
  Reporter:  JohnWiegley       |          Owner:                  
      Type:  bug               |         Status:  new             
  Priority:  normal            |      Milestone:                  
 Component:  GHCi              |        Version:  7.4.2           
Resolution:                    |       Keywords:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  Other             |     Difficulty:  Unknown         
  Testcase:                    |      Blockedby:                  
  Blocking:                    |        Related:                  
-------------------------------+--------------------------------------------
Changes (by igloo):

  * status:  patch => new
  * difficulty:  => Unknown


Comment:

 Thanks for the patch, parcs. However, if I understand it correctly, it
 only works for import declarations?

 If we support that, then we should presumably also support
 {{{
 import Data.List ; let x = 1
 }}}
 or
 {{{
 let { x = 1 } ; let { y = 2 }
 }}}

 John, how did you come across this?

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



More information about the ghc-tickets mailing list