#3304: define gcd 0 0 = 0
-----------------------------+----------------------------------------------
  Reporter:  stevec          |          Owner:                  
      Type:  proposal        |         Status:  new             
  Priority:  normal          |      Milestone:  7.2.1           
 Component:  libraries/base  |        Version:  6.10.3          
Resolution:                  |       Keywords:                  
  Testcase:                  |      Blockedby:                  
Difficulty:  Unknown         |             Os:  Unknown/Multiple
  Blocking:                  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown    |  
-----------------------------+----------------------------------------------

Comment(by YitzGale):

 Replying to [comment:5 simonmar]:
 > So we need to change `gcd` in `GHC.Real`, but also
 > reinstate the old behaviour for the `haskell98` and
 > `haskell2010` packages, correct?

 I suppose that would be the squeaky-clean way of doing
 things, especially since the documentation explicitly
 mentions the old behavior of calling `error`.

 But most people view this as a bug fix. It seems highly
 unlikely that anyone would really want the old behavior
 for anything.

 Personally, I would be happy either way, as long as it
 finally gets fixed.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3304#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to