Problem: a single project can contain multiple Main module, specifically: one for each executable, test suite, and benchmark. We'd like to get type information etc for each of those, but can't load them all into GHC at once.
Solution: have an API where the editor can state which of those Main modules is the current target, and then provide information on those files.