Skip to content
This repository has been archived by the owner on Nov 7, 2020. It is now read-only.

Compress imports #41

Open
chshersh opened this issue Jul 30, 2018 · 0 comments
Open

Compress imports #41

chshersh opened this issue Jul 30, 2018 · 0 comments
Labels
ghc-api Using GHC as a library purify Clean import section by removing unused imports

Comments

@chshersh
Copy link
Contributor

Sometimes we have imports like these:

import Foo (Foo)
import Foo.Bar (Bar)

And often they can be compressed to something like this:

import Foo (Bar, Foo)

I think it would be good to implement this feature.

@chshersh chshersh added purify Clean import section by removing unused imports ghc-api Using GHC as a library labels Jul 30, 2018
@qoelet qoelet removed their assignment Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ghc-api Using GHC as a library purify Clean import section by removing unused imports
Projects
None yet
Development

No branches or pull requests

2 participants