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