From: Simon Marlow Date: Thu, 26 Apr 2007 08:36:57 +0000 (+0000) Subject: Give a better error message when we try to print a value of unknown type X-Git-Tag: 2007-05-06~96 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=97351f5d70e2d5797a092059cb205089d55dacc6;hp=97351f5d70e2d5797a092059cb205089d55dacc6;p=ghc-hetmet.git Give a better error message when we try to print a value of unknown type Stopped at ../Test3.hs:(1,0)-(2,30) _result :: [a] [../Test3.hs:(1,0)-(2,30)] *Main> _result :1:0: Ambiguous type variable `a' in the constraint: `Show a' arising from a use of `print' at :1:0-6 Cannot resolve unkonwn runtime types: a Use :print or :force to determine these types ---