kazu-yamamoto/ghc-mod — pull request #86 by khibino (2012-10-24 00:23:19+00:00)
Title: Read depend packages from *.cabal, and adjust compiler package flags.

For example, mtl package and monads-tf package has the same name module 'Control.Monad.Trans'.
GHC with no package flag cannot handle module like above case, and an error occurs:

Ambiguous module name `Control.Monad.Trans'

This patch avoids this problem to use depend packages information specified by *.cabal.