Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base should be considered necessary when implicit prelude is used #37

Open
ryantrinkle opened this issue May 7, 2018 · 0 comments
Open

Comments

@ryantrinkle
Copy link

Currently, packunused considers this package's use of base redundant; however, removing base from the cabal file results in a failing build, due to the implicit import of Prelude.

Although this minimal example may seem a bit contrived, the issue came up for me in a real codebase where an executable section was defined in which nothing from Prelude was used, since the executable was defined very straightforwardly in terms of the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant