jhala at cs.ucsd.edu
Sun Mar 6 01:16:25 CET 2011
I'd managed, thanks to the tutorials/blog managed to get to the point where
which I converted to the database
After some more fiddling (namely copying the above into the relevant
.cabal/share/hoogle/... directory), and renaming the above to "default.hoo"
I'd even managed to induce the command line interface to search the database.
The final stumbling block is getting the local webserver (hoogle server)
to also search the above database. I'm sure there must be some simple way I
can pass the name of the database as an argument when I boot up the server,
but I can't seem to find it...
On Mar 5, 2011, at 7:13 AM, Malcolm Wallace wrote:
>> I'd like to build a hoogle database that indexes the GHC source.
>> Can anyone point me to how I might do that? (Or better, to a preexisting database?)
> The author of Hoogle, Neil Mitchell, is currently on holiday, but I'm sure he will have some good advice for you when he returns.
> In the meantime, the relevant portion of the Hoogle manual is here:
> and a blog post with instructions is here:
> > (I've noticed that "make haddock" generates a bunch of .txt files.
> > Is there some easy way to scour the directories and build a single
> > Hoogle database from them?)
> I imagine some simple shell scripting would achieve that, starting with
> find haddockBaseDir -name *.txt -print | ...
More information about the Glasgow-haskell-users