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

Ignore template-haskell generated output #44

Open
ndmitchell opened this issue Aug 26, 2018 · 1 comment
Open

Ignore template-haskell generated output #44

ndmitchell opened this issue Aug 26, 2018 · 1 comment

Comments

@ndmitchell
Copy link
Owner

At the moment if you use the lens generator to generate prisms/lenses etc from TH, you get a lot of complaints about unused pieces.

One potential solution would be to enable adding ghc-options: -ddump-splices and exclude things generated by TH, if the files exist. Downside is people won't do this by default, so it's very much an opt-in experience.

@ndmitchell
Copy link
Owner Author

Weeder 2.0 is being developed at https://github.com/ocharles/weeder so I suggest you go see if that fixes your issues.

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