<div>Either way there is an asymmetry when Functor is involved, putting it in Control would break up the cluster of:</div>
<div> </div>
<div>import Data.Functor</div>
<div>import Data.Foldable</div>
<div>import Data.Traversable</div>
<div> </div>
<div>So, I can't see it mattering too much which color the bikeshed is painted, but if the community decides that Control.Functor is the place this should go I'll happily move the Control.Functor module in category-extras to another name.</div>
<div> </div>
<div>-Edward Kmett<br></div>
<div class="gmail_quote">On Mon, Jun 29, 2009 at 9:03 AM, Johan Tibell <span dir="ltr"><<a href="mailto:johan.tibell@gmail.com">johan.tibell@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="gmail_quote">Hi,
<div class="im"><br><br>On Mon, Jun 29, 2009 at 2:45 PM, Ross Paterson <span dir="ltr"><<a href="mailto:ross@soi.city.ac.uk" target="_blank">ross@soi.city.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Although (<$) is now a method of the Functor class, it is hidden in the<br>re-export by the Prelude, Control.Monad and Monad. The new module<br>
Data.Functor exposes the full class, plus the function (<$>). These are<br>also re-exported by Control.Applicative.<br></blockquote></div></div><br>Could we come up with some policy on what goes in Control.* versus Data.*? As we add more and more modules that fits in both categories it's becoming increasingly hard to remember what lives where. Using both Data and Control gives import lists an ugly asymmetry:<br>
<br>import Control.Applicative<br>import Data.Functor<br>import Control.Monad<br><br>Cheers,<br><font color="#888888"><br>Johan<br><br></font><br>_______________________________________________<br>Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a><br><br></blockquote></div>
<br>