<div dir="ltr">I'm opposed to changing the names in either module. In modern code it should be fairly rare to import Control.Arrow. In the cases that both are needed qualified imports are available, and it wouldn't be worth breaking existing code by renaming the class methods of Bifunctor.</div><br><div class="gmail_quote"><div dir="ltr">On Tue, May 8, 2018 at 7:58 AM Alexandre Rodrigues <<a href="mailto:alexandrer_b@outlook.com">alexandrer_b@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div text="#000000" bgcolor="#FFFFFF">
<p>Name collisions are always an issue, and I think you raise a valid point. However, in this case, does Haskell not already offer a solution? Qualified imports do add some overhead, but doing<br>
<br>
```</p>
<p>import qualified Control.Arrow  as A<br>
</p>
<p>import qualified Data.Bifunctor as B</p>
<p><br>
foo :: Foo<br>
</p>
<p>foo = f . A.first . g</p>
<p><br>
</p>
<p>baz :: Baz<br>
</p>
<p>baz = h . B.first . i<br>
</p>
<p>```<br>
<br>
does not seem too difficult.<br>
</p></div><div text="#000000" bgcolor="#FFFFFF">
<br>
<div class="m_5840429526777048734moz-cite-prefix">On 08-05-2018 15:35, 박신환 wrote:<br>
</div>
<blockquote type="cite">

<div style="font-size:10pt;font-family:Gulim,sans-serif">
<p>I had to import both Control.Arrow and Data.Bifunctor, and the name collision is annoying.</p>
<p> </p>
<p>`first` and `second` from Data.Bifunctor should be given other names. I suggest (<$<) and (>$>), respectively. </p>
</div>
<table style="display:none">
<tbody>
<tr>
<td><img src="https://mail.naver.com/readReceipt/notify/?img=JeRCbHFTpz%2FYaqgZKrRZpzK%2FMoE%2FKoFvF4Mqp6JopACSMovdpxkvFx%2B0M6t9tzFXp6UwaLl5WLl51zlqDBFdp6d5MreRhoRn16iZMBiGpBFg1zJq1rknWVlTb4b%3D.gif" border="0"></td>
</tr>
</tbody>
</table>
<br>
<fieldset class="m_5840429526777048734mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
Libraries mailing list
<a class="m_5840429526777048734moz-txt-link-abbreviated" href="mailto:Libraries@haskell.org" target="_blank">Libraries@haskell.org</a>
<a class="m_5840429526777048734moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a>
</pre>
</blockquote>
<br>
</div>

_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org" target="_blank">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>