🚣 Smuggle all imports
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
src/Smuggler
test
.gitignore
.stylish-haskell.yaml
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
LICENSE
README.md
smuggler.cabal
stack.yaml

README.md

smuggler

smuggler-logo Hackage Build status MPL-2.0 license

“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: How to build?

$ stack build

Run tests

$ cabal new-test --allow-newer