Ticket #215 (new bug report)

Opened 6 years ago

Last modified 6 years ago

Support DoAndIfThenElse, part of Haskell 2010

Reported by: NeilMitchell Owned by: nibro
Priority: major Milestone:
Component: parser Version:
Keywords: Cc:


GHC 7.0 and Haskell 2010 both support the DoAndIfThenElse? extension, which allows:

main = do
    if True then print 0
    else print 1

It would be nice if haskell-src-exts did too.

Change History

Changed 6 years ago by NeilMitchell2

Users are starting to run into this bug in practice: http://code.google.com/p/ndmitchell/issues/detail?id=452

Note: See TracTickets for help on using tickets.