
15 Jun
2005
15 Jun
'05
12:39 a.m.
G'day all.
Quoting Maurício
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?
Prelude> :t (**) (**) :: forall a. (Floating a) => a -> a -> a Prelude> :t (^) (^) :: forall a b. (Integral b, Num a) => a -> b -> a Hope this helps. Cheers, Andrew Bromage