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

Generate explicit export list for *_Fields module #491

Open
jcmartin opened this issue Oct 26, 2024 · 0 comments
Open

Generate explicit export list for *_Fields module #491

jcmartin opened this issue Oct 26, 2024 · 0 comments

Comments

@jcmartin
Copy link

jcmartin commented Oct 26, 2024

Right now, the *_Fields.hs modules do not have an explicit export list. This results in a warning when -Wmissing-export-lists flag is enabled. This flag is presently enabled by default on new installs of stack. A quick and dirty approach is to do module A (module A) where in the cases where every function in the module should be exposed. However, an explicit list at the header is more helpful even just for the purposes of being able to see every function in as few of lines as 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