Add instance IsString ShowS where fromString = showString
ross at soi.city.ac.uk
Mon Oct 5 07:32:19 EDT 2009
On Sun, Sep 27, 2009 at 10:51:04PM +0200, Bas van Dijk wrote:
> It would be really nice to use OverloadedStrings when constructing a
> ShowS, for example in a definition of showsPrec in an instance for
> The patch attached in the ticket adds the necessary instance to
> instance IsString ShowS where
> fromString = showString
> Note that this does require TypeSynonymInstances.
and also FlexibleInstances. I think that's a problem, as Ganesh outlined.
More information about the Libraries