RE: if-them_else

2007-11-21 Thread Seth Kurtzberg
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wolfgang Jeltsch Sent: Wednesday, November 21, 2007 10:32 AM To: glasgow-haskell-users@haskell.org Subject: Re: if-them_else Am Mittwoch, 21. November 2007 15:03 schrieb Serge D. Mechveliani: > Dear

Re: if-them_else

2007-11-21 Thread Wolfgang Jeltsch
Am Mittwoch, 21. November 2007 15:03 schrieb Serge D. Mechveliani: > 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 loc

RE: if-them_else

2007-11-21 Thread Seth Kurtzberg
Maybe it's from Chicago and doesn't see anything wrong with "them" in that context. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Serge D. Mechveliani Sent: Wednesday, November 21, 2007 9:04 AM To: glasgow-haskell-users@has

if-them_else

2007-11-21 Thread Serge D. Mechveliani
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'