<div dir="ltr">Hello GHC devs,<div><br></div><div>I ran haskell-indexer [1] on the GHC 8.0.2 tarball, partly because I find myself reading GHC source from time to time while working on the indexer, and partly since it's fun.</div><div><br></div><div>First, here you can click around [2] and find where beloved functions are called from: <a href="http://stuff.codereview.me/#ghc/compiler/hsSyn/HsBinds.hs?corpus&signature">http://stuff.codereview.me/#ghc/compiler/hsSyn/HsBinds.hs?corpus&signature</a> (scroll down a bit, imports are not linked yet).</div><div><br></div><div>Second, the way I indexed was pretty simple. I took the output of `make`, replaced the ghc used with the ghc_kythe_wrapper, and filtered the lines which included '-c', since I noticed that those duplicate previous large compile lines. This only indexes the stage1 compilation AFAIU.</div><div><br></div><div>Feel free to suggest a better way to tap into the compilations to get everything properly indexed (and possibly only once).</div><div><br></div><div>Any comments welcome!</div><div>Robin</div><div><br></div><div>[1]: <a href="https://github.com/google/haskell-indexer">https://github.com/google/haskell-indexer</a></div><div><br></div><div>[2]: TLDR UI quirks:</div><div>  - Click the :: in top-left to navigate file tree</div><div>  - Ctrl-Click (on linux) to go directly to definition (otherwise click stuff from bottom pane)</div><div>  - Bottom pane often hides content, close it if stuck.</div></div>