fix-imports: Program to manage the imports of a haskell module
fix-imports is a small standalone program to manage the import block of a haskell program. It will try to add import lines for qualified names with no corresponding import, remove unused import lines, and sort the import block according to some heuristic you can define. This only works for qualified imports! Unqualified imports are left untouched.
It's most convenient if bound to an editor key. See the included vimrc for an example. You may have to cabal unpack or git clone to see it.
[Skip to Readme]
Downloads
- fix-imports-1.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0, 0.1.1, 0.1.2, 0.1.3, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0 |
---|---|
Change log | changelog.md |
Dependencies | base (>=3 && <5), containers, cpphs, directory, filepath, haskell-src-exts (>=1.16.0), process, split, text, uniplate [details] |
Tested with | ghc >=8.0.2 |
License | BSD-3-Clause |
Author | Evan Laforge |
Maintainer | Evan Laforge <qdunkan@gmail.com> |
Category | Editor, Haskell, IDE |
Source repo | head: git clone git://github.com/elaforge/fix-imports.git |
Uploaded | by EvanLaforge at 2018-02-27T19:11:51Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | fix-imports |
Downloads | 10863 total (18 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Last success reported on 2018-02-27 [all 3 reports] |