[Haskell-cafe] Re: default for quotRem in terms of divMod?
derek.a.elkins at gmail.com
Sat Aug 11 15:24:57 EDT 2007
On Sat, 2007-08-11 at 21:10 +0200, Henning Thielemann wrote:
> Btw. is there any application, where 'quot' and 'rem' are needed? All
> occurrences of 'quot' and 'rem' I found in code so far were actually wrong
> and should have been 'div' and 'mod'.
quotRem is faster than divMod, and my understanding is that even divMod
is arguably broken.
More information about the Haskell-Cafe