Proposal: Improving the IsString String instance

Ian Lynagh igloo at earth.li
Mon Aug 26 23:18:33 CEST 2013


On Mon, Aug 26, 2013 at 04:41:43PM -0400, Edward Kmett wrote:
> The argument in favor of using some 'o' combinator works even better on my
> side of the debate. ;)
> 
> I can coopt the suggestion of 'o' to say that you can use it for the few
> instances of IsString [Foo] that you want

But under your proposal (assuming you mean the original proposal), there
wouldn't be an IsString [Foo] instance, would there? So o = fromString
wouldn't work for [Foo]?


Thanks
Ian





More information about the Libraries mailing list