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

Isaac Dupree isaacdupree at charter.net
Sat Aug 11 18:02:00 EDT 2007


Isaac Dupree wrote:
> I do think that if you almost always want to _use_ div and mod, you 
> should be able to just define div and mod too (not quot and rem)

that was unclear - I mean you should have that choice, not that it 
should be disallowed to define quot and rem only!

Isaac


More information about the Haskell-Cafe mailing list