#3136: monad syntax extension
-----------------------------+----------------------------------------------
Reporter:  neodymion         |          Owner:                  
    Type:  feature request   |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  6.10.1            |       Severity:  normal          
Keywords:                    |       Testcase:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-----------------------------+----------------------------------------------
 allow this:

 print (readInt [<getLine>] + readInt [<getLine>])

 (or some other kind of funky brackets)
 to translate into

 getLine>>=\x->getLine>>=\y->print (readInt x + readInt y)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3136>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to