[GHC] #3136: monad syntax extension
GHC
trac at galois.com
Wed Apr 1 17:33:19 EDT 2009
#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
More information about the Glasgow-haskell-bugs
mailing list