<p dir="ltr">I wouldn't be sad to see the instance go, although I do extract a minimal amount of utility out of it. In any case, I doubt I'm going to convince anyone, so let's just remove it :)</p>
<p dir="ltr">Ryan S.</p>
<div class="gmail_quote">On May 6, 2016 5:52 PM, "Edward Kmett" <<a href="mailto:ekmett@gmail.com">ekmett@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have to admit the idea of duplicating the orphan instance module we have for Text.Show.Functions makes me queasy. It is a pretty ugly compromise that makes everyone unhappy, not really a model for future behavior. I'd rather drop the instance entirely but could be convinced.<br>
<br>
Sent from my iPad<br>
<br>
> On May 6, 2016, at 11:56 AM, Ryan Scott <<a href="mailto:ryan.gl.scott@gmail.com">ryan.gl.scott@gmail.com</a>> wrote:<br>
><br>
> I'm tentatively +1 on the idea of removing the NFData (a -> b) instance.<br>
><br>
> Henning raises a good point that there are probably folks who rely on<br>
> that instance to make automatic deriving of NFData. (Disclaimer: the<br>
> phrase "folks" includes myself.) A similar scenario arises when<br>
> deriving Show instances, for which a compromise was made by putting<br>
> the Text.Show.Functions module in base, which does nothing but export<br>
> an orphan Show (a -> b) instance.<br>
><br>
> Perhaps, if we wanted to retain the ability to use the NFData (a -> b)<br>
> instance in limited scenarios (e.g., when you're writing an<br>
> application and there's no risk of leaking orphan instances to other<br>
> users), then we could also introduce a Control.DeepSeq.Functions<br>
> module that exports an orphan NFData (a -> b) instance, and put a<br>
> giant warning at the top stating that such an instance should be used<br>
> responsibly. What say ye?<br>
><br>
> Ryan S.<br>
> _______________________________________________<br>
> Libraries mailing list<br>
> <a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
</blockquote></div>