
One thing you could do is download Hackage (easy enough with a little scripting of 'cabal list'; see for example http://www.haskell.org/pipermail/haskell-cafe/2011-July/093669.html ), unpack, and use Language.Haskell.Exts to parse every Haskell file. Here are two examples from the past: 1. http://www.haskell.org/pipermail/haskell-cafe/2012-January/098618.html function-name search script which lets you parse a large number of source files and print out anything calling a specified function (eg. if you were thinking about deprecating something) 2. http://www.haskell.org/pipermail/haskell-cafe/2011-May/091663.html language-extension search script; I used it to see how many source files ever invoked LANGUAGE pragmas and which ones. -- gwern http://www.gwern.net