ghc-imported-from icon indicating copy to clipboard operation
ghc-imported-from copied to clipboard

Support qualified import without "as" modifier

Open carlohamalainen opened this issue 9 years ago • 0 comments

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).

carlohamalainen avatar Feb 09 '16 02:02 carlohamalainen