Possible Duplicate:
Haskell Error: Couldn't match expected typeInteger' against inferred typeInt'
How can I convert Int to Integer in Haskell?
Possible Duplicate:
Haskell Error: Couldn't match expected typeInteger' against inferred typeInt'
How can I convert Int to Integer in Haskell?