> xcomp :: Int -> Int -> Int
> xcomp a m = (xor a (complement m))

> How can I resolve this to have this code work under GHC
> and hugs?

Use Foreign.Int32 instead of Int.

--
Alastair Reid
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to