<div dir="auto"><div>I don't think that it's unreasonable in general to expect people to explore a codebase via IDE tooling. But given Haskell's current situation on that front, I currently agree with your approach to Haskell imports/exports.</div><div dir="auto"><br></div><div dir="auto">Ignat, I agree with you that explicit imports/exports involve unnecessary typing. I call this "busywork". Explicit exports still seem valuable for encapsulation, avoiding name clashes, and in the case of GHC they unlock a bit more optimisation.</div><div dir="auto"><br></div><div dir="auto">In this case I think that we should automate that busywork, and hopefully the recent Haskell IDE work gives us a path in that direction.<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Fri, 18 Sep 2020, 3:54 am Olaf Klinke, <<a href="mailto:olf@aatal-apotheke.de" rel="noreferrer noreferrer" target="_blank">olf@aatal-apotheke.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Ignat, <br>
<br>
have you seen<br>
<a href="https://wiki.haskell.org/Import_modules_properly" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://wiki.haskell.org/Import_modules_properly</a><br>
<a href="https://wiki.haskell.org/Qualified_names" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://wiki.haskell.org/Qualified_names</a><br>
<br>
I find the arguments convincing. Even in my own packages I sometimes<br>
get lost where a certain function was imported from. When neither<br>
exports nor imports are done explicitly, you usually have only two<br>
choices: <br>
1. search all sources (e.g. with grep -l)<br>
2. rely on the haddock index<br>
Maybe your IDE can do that for you, but you can't expect all downstream<br>
users or all your colleagues to do the same. <br>
<br>
-- Olaf<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div></div></div>