Do you derive Show for MyData?

> -----Original Message-----
> From: Mike Jones [mailto:[EMAIL PROTECTED]]
> Sent: 09 May 2000 05:58
> To: [EMAIL PROTECTED]
> Subject: Showing tuples
> 
> 
> Hi,
> 
> I am having trouble with Show and tuples.
> 
> I have a data structure, say:
> 
> data MyData = ...
> 
> And a value, say:
> 
> value = (MyData..., MyData..., MyData)
> 
> Then try to:
> 
> show value
> 
> I get a compiler message from ghc 4.05 that says:
> 
> No instance for `Show (MyData, MyData, MyData)...
> 
> What is the best way to deal with this problem?
> 
> Thanks,
> 
> Mike
> 
> 

Reply via email to