[Haskell-beginners] Show for Parameterized Type
Hartmut
hartmut0407 at googlemail.com
Sun Aug 7 23:54:22 CEST 2011
David,
that was fast :-) Thank you for your help!
Hartmut
On Sun, Aug 7, 2011 at 11:47 PM, David Place <d at vidplace.com> wrote:
> 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/426a0659/attachment.htm>
More information about the Beginners
mailing list