[EMAIL PROTECTED] writes: > ... > > Although you can't show the value (because there isn't one), you can > at least show the type of the expression: > > class ShowType a where > showType :: a -> String .... Or you can do what hbc has done for donkey's years and include 'showType' in Show. I seem to remember (but am unable to test), that 'deriving(Show)' will do the right thing for Show.showType too. --sigbjorn
- Re: improving error messages Ketil Malde
- RE: improving error messages Simon Peyton-Jones
- RE: improving error messages Malcolm Wallace
- Re: improving error messages Fergus Henderson
- Re: improving error messages S.J.Thompson
- Re: improving error messages Jan Skibinski
- improving error messages S.D.Mechveliani
- Re: improving error messages Keith Wansbrough
- Re: improving error messages Malcolm Wallace
- RE: improving error messages Simon Peyton-Jones
- RE: improving error messages Sigbjorn Finne
- RE: improving error messages Malcolm Wallace
- Re: improving error messages George Russell
- Re: improving error messages Koen Claessen
- Re: improving error messages Leon Smith