smuggler: GHC Source Plugin that helps to manage imports

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Usage

Add smuggler to the dependencies of your project.

Then add the following options: -fplugin=Smuggler.Plugin


[Skip to Readme]

Properties

Versions 0.0.0, 0.0.1, 0.1.0, 0.1.0
Change log CHANGELOG.md
Dependencies base (>=4.12 && <5), bytestring (>=0.10 && <0.11), containers (>=0.5 && <0.7), filepath (>=1.4 && <1.5), ghc (>=8.6.0 && <8.7), ghc-exactprint (>=0.5.8.0 && <0.6), hash-store (>=0.1.0 && <0.2), smuggler, unordered-containers (>=0.2.7 && <0.3) [details]
License MPL-2.0
Copyright 2018 Kowainik
Author Kowainik
Maintainer xrom.xkov@gmail.com
Category Development, Refactoring
Home page https://github.com/kowainik/smuggler
Bug tracker https://github.com/kowainik/smuggler/issues
Source repo head: git clone git@github.com:kowainik/smuggler.git
Uploaded by shersh at 2018-09-24T05:11:21Z

Modules

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for smuggler-0.1.0

[back to package description]

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:

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