
On Mon, Aug 17, 2009 at 6:18 PM, Laszlo Nagy
Hi All,
I was volunteer to solve this problem: http://hackage.haskell.org/trac/summer-of-code/ticket/1565 In a conversation on the libraries@haskell.org I was suggested to scratch my idea here.
I would use hoogle for this. Currently it stores the package name and the symbols of the modules about a package. I would extend it to store the version of the package as well. Extend the query methods to use all the available package description at search. And make a VersionRange from the matched Versions. In a second turn I have to solve the problem, how a user can get all the hoogle files about every version of the used packages. (Applied version policy can help to have less files.) #1 Using a central repository, (like hackage) where upload require hoogle input file as well. #2 Implement a tool, top of (or inside) cabal-install, which generates all the needed files. Finally Haddock has to be taught to query hoogle to get availability description for each symbol.
Please feel free to suggest other ideas or tell your opinion about mine.
How about tackling the problem at a lower level. Given two .hs files (or .hi) files find the symbols that were added between file A and file B. You can the reuse this functionality in a number of different tools. Just my 2 cents, Johan