[EMAIL PROTECTED] (S.D.Mechveliani) writes:
> Recent Haskell ignores the possibility of the automatic type 
> conversion. Thus, 
>                           1 + 1%2  
> is ill-typed.

and goes on to propose a fix.

This expression is perfectly well typed: Hugs 1.4 accepts it without
any problems:

  Prelude> 1 + 1%2
  3 % 2

Perhaps you should send a bug report to whoever wrote your compiler?

-- 
Alastair Reid              Yale Haskell Project Hacker
[EMAIL PROTECTED]  http://WWW.CS.Yale.EDU/homes/reid-alastair/



Reply via email to