[Haskell-cafe] gcd

Steve stevech1097 at yahoo.com.au
Mon May 4 09:33:33 EDT 2009


Thanks for all the replies, it looks like there is a lot of support for
having gcd 0 0 = 0.

I've since discovered that there was a similar discussion in 2001, where
the majority supported gcd 0 0 = 0, but the suggested change was never
implemented.
http://www.haskell.org/pipermail/haskell/2001-December/008560.html


On Sat, 2009-05-02 at 13:17 +0200, Martijn van Steenbergen wrote:
> Hi Steve,
> 
> Steve wrote:
> > Why is gcd 0 0 undefined?
> 
> That's a good question. Can you submit an official proposal?
> 
> http://www.haskell.org/haskellwiki/Library_submissions
> 
> Thanks,
> 
> Martijn.

OK, I'll work my way through proposal steps.

Steve




More information about the Haskell-Cafe mailing list