Add instance IsString ShowS where fromString = showString
Bas van Dijk
v.dijk.bas at gmail.com
Mon Oct 5 03:27:07 EDT 2009
On Sun, Sep 27, 2009 at 10:51 PM, Bas van Dijk <v.dijk.bas at gmail.com> 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.
> Discussion period 2 weeks.
>  http://hackage.haskell.org/trac/ghc/ticket/3544
Just a reminder for this proposal. One week has passed and one to go.
Any comments, +1 or -1?
More information about the Libraries