The problem seems to be that numeric literals are polymorphic. With your code, this works:
*Main> let x = 8 :: Int *Main> add x x x :: Int 24 *Main> add x x :: Int 16 _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
