
4 Sep
2006
4 Sep
'06
10:47 a.m.
On Mon, Sep 04, 2006 at 06:22:34PM +0400, Serge D. Mechveliani wrote:
Here is an example of how I alayws was using overlaps with standard instances.
------------------------------------------------ data Equation = ... instance Show Equation where ...
instance Show [Equation] where showsPrec _ eqs =
This doesn't addrses the general issue, but in this case you can say
data Equation = ...
instance Show Equation where
showsPrec _ eq = ...
showList eqs =