[GHC] #4316: Interactive "do" notation in GHCi

GHC cvs-ghc at haskell.org
Mon Oct 18 04:39:05 EDT 2010


#4316: Interactive "do" notation in GHCi
------------------------------+---------------------------------------------
  Reporter:  mitar            |          Owner:  vivian          
      Type:  feature request  |         Status:  new             
  Priority:  normal           |      Milestone:  7.2.1           
 Component:  GHCi             |        Version:  6.12.3          
Resolution:                   |       Keywords:                  
  Testcase:                   |      Blockedby:                  
Difficulty:                   |             Os:  Unknown/Multiple
  Blocking:                   |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown     |  
------------------------------+---------------------------------------------

Comment(by simonmar):

 Replying to [comment:19 vivian]:

 > I add {{{Opt_AlternativeLayoutRule}}} as a dynamic flag.  I'm checking
 to see if the list of ALRContexts is empty and whether an opening curly
 brace is expected but this does not appear to be sufficient.  What in the
 "state of the lexer" should I be checking?

 I don't know.  In what way is it not sufficient, can you give an example?

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


More information about the Glasgow-haskell-bugs mailing list