if-them_else

Seth Kurtzberg seth at cql.com
Wed Nov 21 09:41:52 EST 2007


Maybe it's from Chicago and doesn't see anything wrong with "them" in that
context.  :)

-----Original Message-----
From: glasgow-haskell-users-bounces at haskell.org
[mailto:glasgow-haskell-users-bounces at haskell.org] On Behalf Of Serge D.
Mechveliani
Sent: Wednesday, November 21, 2007 9:04 AM
To: glasgow-haskell-users at haskell.org
Subject: if-them_else

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' "
?

Regards,

-----------------
Serge Mechveliani
mechvel at botik.ru
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users




More information about the Glasgow-haskell-users mailing list