default instance for IsString

Daniel Peebles pumpkingod at
Tue Apr 24 15:14:45 CEST 2012

Why are potentially partial literals scarier than the fact that every value
in the language could lead to an exception when forced?

On Tue, Apr 24, 2012 at 5:35 AM, Yitzchak Gale <gale at> wrote:

> Markus Läll wrote:
> > You do know, that you already *can* have safe Text and ByteString from
> > an overloaded string literal.
> Yes, the IsString instances for Text and ByteString are safe
> (I hope).
> But in order to use them, I have to turn on OverloadedStrings.
> That could cause other string literals in the same module
> to throw exceptions at run time.
> -Yitz
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Glasgow-haskell-users mailing list