[Haskell-beginners] Missing some functions in Hoogle

Paulo Pocinho pocinho at gmail.com
Sat May 26 23:54:22 CEST 2012


On 25 May 2012 15:04, Ken Kawamoto <kentaro.kawamoto at gmail.com> wrote:
> Thanks Paulo for your comment and sorry for late reply.
>
> On Tue, May 22, 2012 at 11:09 PM, Paulo Pocinho <pocinho at gmail.com> wrote:
>> After testing Hoogle cabal package [4], it can either generate
>> databases for the current system or fetch the database from the
>> internet. However, database search only covered standard libraries.
>
> What does this part mean?
> With Hoogle package, you can generate databases for any library, but
> the search works only for standard libraries?
>
> Although this is consistent with what I experienced, it's a bit
> surprising because this means generating database doesn't make any
> sense, does it?

Exactly. By default, hoogle did not index every library installed in
my system. There is a flag for database creation with haddock [1].
However, I found it a bit complicated [2].


> Hayhoo seems to suit what I want.

I must correct myself: it searches all packages from Hackage,
including all function *and* type definitions [3].
Works like a charm.


--
1. http://www.haskell.org/haskellwiki/Hoogle#Database_Creation
2. http://neilmitchell.blogspot.pt/2008/08/hoogle-database-generation.html
3. http://holumbus.fh-wedel.de/hayoo/hayoo.html

Regards,
Paulo



More information about the Beginners mailing list