Serge D. Mechveliani mechvel at botik.ru
Wed Nov 21 09:03:51 EST 2007

Dear GHC developers,

when compiling the function   f x = if x them False else True

ghc-8.8.1  reports:   " parse error on input `else' ".

When there is a large expession after `them', it is sometimes 
difficult to locate a typo.
Why does not it report  " parsing if-then-else: cannot find `then' "


Serge Mechveliani
mechvel at botik.ru

More information about the Glasgow-haskell-users mailing list