Add instance IsString ShowS where fromString = showString

Bas van Dijk v.dijk.bas at
Tue Oct 6 05:39:18 EDT 2009

On Mon, Oct 5, 2009 at 12:47 PM, Duncan Coutts
<duncan.coutts at> wrote:
> Right, then uses of fromString would require -XOverlappingInstances and
> possibly -XIncoherentInstances.

That's a bummer.

> Right. It makes me nervous too. I think what this show us is that ShowS
> should have been a newtype.

Yes, I think I just keep using dstring[1] instead.




More information about the Libraries mailing list