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

NoConfusingPrefixOperator should report prefix operators with no applied arguments #15

Open
SiriusStarr opened this issue Oct 4, 2022 · 0 comments

Comments

@SiriusStarr
Copy link

NoConfusingPrefixOperator seems to only report if the function has at least one argument applied to it. For example, this is currently not flagged by NoConfusingPrefixOperator, and it (presumably?) should be:

Maybe.map2 (>)
    (Dict.get n outerUses)
    (Dict.get n innerUses)

but e.g. this is:

Maybe.map ((>) 1)
    (Dict.get n innerUses)
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