Thanks, now fixed (another Haskell 1.3 defn).

--sigbjorn

----- Original Message ----- 
From: "Ian Lynagh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 11, 2001 12:50
Subject: recip incorrect for 0 % 1


> 
> Hi guys,
> 
> hugs has
> 
> recip (x:%y)        = if x < 0 then (-y) :% (-x) else y :% x
> 
> which is not correct when x == 0.
> 
> 
> Thanks
> Ian
> 



_______________________________________________
Hugs-Bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-bugs

Reply via email to