[Haskell-beginners] Show for Parameterized Type

David Place d at vidplace.com
Sun Aug 7 23:47:38 CEST 2011


On Aug 7, 2011, at 5:39 PM, Hartmut wrote:

> How can I formulate this show method correctly?

instance (Show a, Read a) => Show (EW a) where
  show (EW x) = show "EW:" ++ show x


____________________
David Place   
Owner, Panpipes Ho! LLC
http://panpipesho.com
d at vidplace.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110807/346f0528/attachment.htm>


More information about the Beginners mailing list