Skip to content

haskell-definition-face not used when as-pattern precedes infix function definition #450

Closed
@eigengrau

Description

@eigengrau

When a function is defined in infix syntax, haskell-definition-face applies to the function name. So in the following, op will bear the definition face.

foo `op` bar = undefined

However, haskell-definition-face will fail to be assigned when an as-pattern precedes the function name. So, op below receives haskell-operator-face.

foo@Nothing `op` bar = undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions