[Haskell-cafe] Division: Is there a way to simultaneously find the quotient and remainder?

KC kc1956 at gmail.com
Sat May 14 17:26:06 CEST 2011


Thank you all.

I remember Hoogle'ing for "rem" and then "quot" but not finding "qoutRem". :)


On Sat, May 14, 2011 at 6:55 AM, Henning Thielemann
<schlepptop at henning-thielemann.de> wrote:
> Chris Smith schrieb:
>
>> Sure... see quotRem in the prelude.
>
> http://www.haskell.org/haskellwiki/Haskell_programming_tips#Forget_about_quot_and_rem
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
--
Regards,
KC



More information about the Haskell-Cafe mailing list