[Haskell-cafe] Mutually recursive modules and google
protocol-buffers
Sittampalam, Ganesh
ganesh.sittampalam at credit-suisse.com
Wed Jul 16 07:03:07 EDT 2008
Hi,
> module A(A) where
> data A
> deriving Show
I think you should use "instance Show A" rather than "deriving Show".
All the boot file needs to do is say that the instance exists, not
explain how it is constructed.
Cheers,
Ganesh
==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================
More information about the Glasgow-haskell-users
mailing list