[Haskell-cafe] Re: default for quotRem in terms of divMod?

Henning Thielemann lemming at henning-thielemann.de
Sat Aug 11 15:10:19 EDT 2007


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'.

http://www.haskell.org/haskellwiki/Things_to_avoid#Forget_about_quot_and_rem


More information about the Haskell-Cafe mailing list