Hi Daniel, Thanks for the IO monad reminder. What is GHC.Int.Int32? Can't find it on Hoogle. Michael ================== *Main> ht <- new (==) dummy :: IO MyHashTable <interactive>:1:15: Couldn't match expected type `GHC.Int.Int32' against inferred type `Int' In the second argument of `new', namely `dummy' In a stmt of a 'do' expression: ht <- new (==) dummy :: IO MyHashTable *Main> :t dummy dummy :: String -> Int *Main> --- On Tue, 11/17/09, Daniel Fischer <daniel.is.fischer@web.de> wrote:
|