Proposal: Add IsString instance for (Maybe a) to base

MightyByte mightybyte at gmail.com
Mon Jul 15 20:06:43 CEST 2013


On Mon, Jul 15, 2013 at 1:53 PM, Roman Cheplyaka <roma at ro-che.info> wrote:

> I don't see any contradiction here.
>
> It's perfectly fine if you decided that you need that instance and
> introduced it in your code. It would be very strange if someone said you
> shouldn't do that.
>
> I also don't mind package authors (ab)using IsString to make their
> libraries more convenient to use. If someone doesn't like that library,
> they doesn't have to use it.
>
> What I am against is putting that instance into base, thus making it
> impossible to opt-out.
>

Yes, I agree with you.  It seems to be relatively uncommon for these
specialized instances to help significantly, which means that we're not
saving people that much code by including it in base.

So -1 from me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20130715/4a643bd3/attachment.htm>


More information about the Libraries mailing list