class (Show a)=>Word a where show (Word a) = show a
The hope is to define a default implementation of the class Show. I get the following error:
'show' is not a (visible) method to the class word. Also note, that I could possibly try to have word derive show but I want to understand this error better.

New Topic/Question
Reply



MultiQuote


|