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

use : [] is not correct in the presence of OverloadedLists #1602

Open
MangoIV opened this issue Jun 9, 2024 · 1 comment
Open

use : [] is not correct in the presence of OverloadedLists #1602

MangoIV opened this issue Jun 9, 2024 · 1 comment

Comments

@MangoIV
Copy link

MangoIV commented Jun 9, 2024

As the description says; it's not valid to suggest use :[] when using something like \x -> [x] in the presence of OverloadedLists. I hence think it would be good to not fire that lint by default.

@zliu41
Copy link
Collaborator

zliu41 commented Dec 14, 2024

OverloadedLists is imo uncommon, so it's probably better to disable this per-project. However it would be reasonable to add a note to this hint for clarification

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

2 participants