Thank you two. I have got it working. Compared to ri, I think:<br><div>The pro is I could find the package that I want even I do not know it.</div><div>The con is I'd have to manually update its data.</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Nov 26, 2012 at 9:21 AM, John Wiegley <span dir="ltr"><<a href="mailto:johnw@fpcomplete.com" target="_blank">johnw@fpcomplete.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">>>>>> Tikhon Jelvis <<a href="mailto:tikhon@jelv.is">tikhon@jelv.is</a>> writes:<br>
<br>
> Have you tried Hoogle? I know you can install it locally and use it from<br>
> GHCi or Emacs. I'm not familiar with ri, but from your description I think a<br>
> local Hoogle would serve the same purpose with the added benefit of being<br>
> able to search by types.<br>
<br>
> Here's the wiki page about it: <a href="http://www.haskell.org/haskellwiki/Hoogle" target="_blank">http://www.haskell.org/haskellwiki/Hoogle</a><br>
<br>
</div>See also:<br>
<br>
<a href="http://newartisans.com/2012/09/running-a-fully-local-hoogle/" target="_blank">http://newartisans.com/2012/09/running-a-fully-local-hoogle/</a><br>
<br>
With this setup I can use ":doc head" in my ghci sessions, and see docs very<br>
similar to what ri would show.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
John Wiegley<br>
FP Complete Haskell tools, training and consulting<br>
<a href="http://fpcomplete.com" target="_blank">http://fpcomplete.com</a> johnw on #haskell/<a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>竹密岂妨流水过<br>山高哪阻野云飞<br><br>And for G+, please use magiclouds#<a href="http://gmail.com" target="_blank">gmail.com</a>.<br>
</div>