<div dir="ltr">Kind of surprised at the attitude shown in this thread. It's entirely reasonable to expect a REPL to offer help functionality (especially coming from Python/R), even if , digging deeper, it turns out to be difficult to offer. Mainly because docs aren't auto-included with packages.  <div>  </div><div>   ghci isn't meant to be a full-blown dev environment, but hey the python console isn't meant to either. </div><div><br></div><div>  I think a tangential issue is that there's no "blessed" solution, so we're worried about lock-in. </div><div><br></div><div><a href="https://wiki.haskell.org/GHC/GHCi">https://wiki.haskell.org/GHC/GHCi</a> <-- this page describes how to set up your environment to get output from hoogle into ghci (by doing :hoogle map for example).</div><div><br></div><br><div class="gmail_quote">On Mon, May 18, 2015 at 2:28 AM Kim-Ee Yeoh <<a href="mailto:ky3@atamo.com">ky3@atamo.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 17, 2015 at 6:18 AM, Peng Yu <span dir="ltr"><<a href="mailto:pengyu.ut@gmail.com" target="_blank">pengyu.ut@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="overflow:hidden">Many other languages have help pages in the command (see help() in<br>
python and R). Why haskell doesn't have such a feature?</div></blockquote></div><br></div></div><div dir="ltr"><div class="gmail_extra">You could flip the question around and ask, why do Python and R insist on incorporating emacs functionality in their REPLs instead of keeping things orthogonal. Otherwise, there's a lot of repetition.<br><br></div><div class="gmail_extra">As Brandon explained, ghci isn't meant to be the everything-and-the-kitchen-sink development environment.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">It used to be that someone starting Haskell would have learned Unix and its ethos beforehand. That's not a ding against you, btw, just an observation that ghci was designed in an earlier era. Patches to ghci are most welcome!<br></div></div><div dir="ltr"><div class="gmail_extra"><br clear="all"><div><div>-- Kim-Ee</div></div>
</div></div>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
</blockquote></div></div>