@hackage smuggler0.1.0
GHC Source Plugin that helps to manage imports
Categories
License
MPL-2.0
Maintainer
Kowainik <xrom.xkov@gmail.com>
Links
Versions
Installation
Tested Compilers
Dependencies (8)
- base >=4.12 && <5
- bytestring ^>=0.10
- containers >=0.5 && <0.7
- filepath ^>=1.4
- ghc ^>=8.6.0
- ghc-exactprint ^>=0.5.8.0 Show all…
Dependents (0)
smuggler
“So many people consider their work a daily punishment. Whereas I love my work as a translator. Translation is a journey over a sea from one shore to the other. Sometimes I think of myself as a smuggler: I cross the frontier of language with my booty of words, ideas, images, and metaphors.”
― Amara Lakhous, Clash of Civilizations Over an Elevator in Piazza Vittorio
Haskell Source Plugin which removes unused imports automatically.
How to use
Add smuggler to the dependencies of your project. Then add the following
compiler options:
-fplugin=Smuggler.Plugin
For contributors
Requirements:
ghc-8.6.1
Cabal: How to build?
$ cabal new-update
$ cabal new-build
Stack on MacOS: How to build?
$ STACK_YAML=stack-mac-8.6.1.yaml stack build
Run tests
$ cabal new-test --allow-newer