G'day all.

On Sat, Oct 26, 2002 at 11:40:04AM -0700, Nuno Silva wrote:

> can anyone help me how to get the dozen number? using Int
> 
> example 
> 
> dozen 1020
> 
> the expected result is: 2

        dozen :: Int -> Int
        dozen 1020 = 2

Hope this helps.

Cheers,
Andrew Bromage
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to