Re: default fixity for `quotRem`, `divMod` ??

2007-06-19 Thread Isaac Dupree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bulat Ziganshin wrote: > Hello Isaac, > > Monday, June 18, 2007, 9:20:29 PM, you wrote: > >> I was just bitten in ghci by `divMod` being the default infixl 9 instead >> of the same as `div` and `mod`. > > one of my hard-to-find bugs was exactly in t

Re: default fixity for `quotRem`, `divMod` ??

2007-06-19 Thread Bulat Ziganshin
Hello Isaac, Monday, June 18, 2007, 9:20:29 PM, you wrote: > I was just bitten in ghci by `divMod` being the default infixl 9 instead > of the same as `div` and `mod`. one of my hard-to-find bugs was exactly in this area: i wrote something like x `div` y+1 instead of x `div` (y+1) so, based