[Haskell-cafe] (**) over integers

Maurício briqueabraque at yahoo.com
Wed Jun 15 00:17:04 EDT 2005


   Hi,

   I'm trying to do this:

let f n = mod (n**5) 12

but I see that I can't because ** only operates on floats. Is there an 
equivalent operator that works on integers? How should I do that?

   Thanks,
   Maurício



More information about the Haskell-Cafe mailing list