#4148: improve new recursive do syntax
---------------------------------+------------------------------------------
    Reporter:  guest             |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Compiler          |      Version:  6.12.3      
    Keywords:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Testcase:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonmar):

 Replying to [comment:1 simonpj]:
 > The change was in fact explicitly highlighted in my email to the ghc-
 users list http://www.mail-archive.com/glasgow-haskell-
 us...@haskell.org/msg17406.html.
 >
 > The difficulty I see with your suggestion is that it requires arbitrary
 lookahead to resolve the ambiguity.

 Perhaps I'm being stupid, but I can't see how it needs arbitrary
 lookahead.  Could you explain that?

 > And in any case, you can always use 'mdo', right?  What's wrong with
 doing that?

 well, we deprecated the `mdo` notation.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4148#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to