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

Haddocks for banned instances #2

Open
endgame opened this issue Nov 14, 2019 · 1 comment
Open

Haddocks for banned instances #2

endgame opened this issue Nov 14, 2019 · 1 comment

Comments

@endgame
Copy link
Collaborator

endgame commented Nov 14, 2019

Banning an instance makes it appear in the haddocks as an instance, so if you're not careful and miss the instance TypeError (...) => in the superclass, you get the opposite impression: that there is actually an instance that you can use.

I don't think TH can generate haddocks yet.

@endgame
Copy link
Collaborator Author

endgame commented Aug 17, 2022

As of GHC 9.2.1, TH can generate haddock. It would be cool to have some CPP that does this where possible.

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