ghc-imported-from
ghc-imported-from copied to clipboard
Support qualified import without "as" modifier
Extend the HaskellModule
type to handle qualified imports without an as
keyword, e.g.
import Foo
import qualified Foo.Bar.Baz
...
f = Foo.Bar.Baz.someFn 42
Looking up someFn
should go to Foo.Bar.Baz
, not some top-level mega-import module (like in the Yesod example).