Arithmetic on unsigned integers, in Haskell