Skip to content

NoConfusingPrefixOperator should report prefix operators with no applied arguments  #15

@SiriusStarr

Description

@SiriusStarr

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions