<div dir="auto">I suggest adding this as an orphan instance (Like Show (a -> b)) in a seperate module (say, Numeric.Function).</div><br><div class="gmail_quote"><div dir="ltr">2018년 11월 11일 (일) 14:01에 Henning Thielemann <<a href="mailto:lemming@henning-thielemann.de">lemming@henning-thielemann.de</a>>님이 작성:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On Sun, 11 Nov 2018, Henning Thielemann wrote:<br>
<br>
> On Sat, 10 Nov 2018, Daniel Cartwright wrote:<br>
><br>
>> relevant reddit comment <br>
>> thread:<a href="https://www.reddit.com/r/haskell/comments/9vtis5/the_universe_of_discourse_i_hate_the_environment/e9f1lea?utm_so" rel="noreferrer noreferrer" target="_blank">https://www.reddit.com/r/haskell/comments/9vtis5/the_universe_of_discourse_i_hate_the_environment/e9f1lea?utm_so</a><br>
>> urce=reddit-android<br>
><br>
> <a href="https://wiki.haskell.org/index.php?title=Num_instance_for_functions&oldid=36632" rel="noreferrer noreferrer" target="_blank">https://wiki.haskell.org/index.php?title=Num_instance_for_functions&oldid=36632</a><br>
><br>
> In short: It would make 2(x+y) no longer a type error but equivalent to 2. We <br>
> would lose a lot of type safety for little syntactic gain.<br>
<br>
Btw. before adding more Wat instances please implement the GHC warning <br>
about such instances:<br>
    <a href="https://ghc.haskell.org/trac/ghc/ticket/11796" rel="noreferrer noreferrer" target="_blank">https://ghc.haskell.org/trac/ghc/ticket/11796</a><br>
_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org" target="_blank" rel="noreferrer">Libraries@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
</blockquote></div>