#3304: define gcd 0 0 = 0
-----------------------------+----------------------------------------------
  Reporter:  stevec          |          Owner:                  
      Type:  proposal        |         Status:  patch           
  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 daniel.is.fischer):

 Replying to [comment:10 simonmar]:
 > How did you generate those patches?  They aren't in the right format for
 feeding into `git am`.  Could you try `git format-patch` please?

 I used `git log -p`, since `git diff -p` didn't include the commit
 message, didn't know about format-patch (with git, I'm happy if I don't
 need to `reset --hard` to get a working repo again). Sorry.

 Re-reading the old threads, the comment needs to explain what `greatest`
 means in connection to gcd (and divisibility in general), haven't thought
 about how to formulate that yet.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to