Skip to content

Parentheses between some single class constraints conflict with hlint rules #1003

@arybczak

Description

@arybczak

As pointed in #264 (comment), the change introduced with #975 made it so that now specific code formatted with ormolu causes hlint to complain about redundant parentheses.

This is quite inconvenient and the workaround described in the above comment, i.e. manually adding hlint annotations is not very satisfying.

Would you consider (partially) reverting this change? I think hlint only complains about parentheses around constraints with no type parameters (like HasCallStack), so at least these could be made to be formatted with no parentheses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    styleNitpicking and things related to purely visual aspect for formatting.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions