ndmitchell / hoogle

Haskell API search engine
http://hoogle.haskell.org/
Other
738 stars 134 forks source link

Use the hoogle library in the hoogle binary #118

Open nomeata opened 9 years ago

nomeata commented 9 years ago

Hi,

while uploading a new version of hoogle to Debian I noticed that it re-builds the modules when building the executable. Wouldn’t it make sense to have the executable depend on the hoogle library, so that these modules only need to be built once?

Greetings, Joachim

ndmitchell commented 9 years ago

Yep, that makes sense. Although I've rewritten lots of Hoogle in the repo, so don't intend to both making minor tweaks to Hoogle 4. I'll make sure I do that for Hoogle 5 though.

ndmitchell commented 8 years ago

Now done - the library exports a hoogle :: [String] -> IO () function which I just call from the executable.