default instance for IsString

Daniel Peebles pumpkingod at gmail.com
Sun Apr 22 03:24:04 CEST 2012


I think it'll be hard to do that without putting Text in base, which I'm
not sure anyone wants to do.

Dan

On Sat, Apr 21, 2012 at 8:20 PM, Greg Weber <greg at gregweber.info> wrote:

> I would like to default IsString to use the Text instance to avoid
> ambiguous type errors.
> I see defaulting capability is available for Num. Is there any way to
> do this for IsString?
>
> Thanks,
> Greg Weber
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20120421/475a62ef/attachment.htm>


More information about the Glasgow-haskell-users mailing list