Add instance IsString ShowS where fromString = showString
Bas van Dijk
v.dijk.bas at gmail.com
Tue Oct 6 05:39:18 EDT 2009
On Mon, Oct 5, 2009 at 12:47 PM, Duncan Coutts
<duncan.coutts at googlemail.com> 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.
regards,
Bas
[1] http://hackage.haskell.org/package/dstring
More information about the Libraries
mailing list