Skip to content

Name enhancement erasion_op => absorbing_op #7211

Open
@Kannen

Description

@Kannen

There is the identity_op lint that fires on operations as 1*x

The name identity correspond to the accepted term, see Wikipedia/identity element.

There is the erasing_op lint that fires on operations as 0*x
But the term erasing is vague, e.g.: could it mean type erasure??
There is a precise word for that too: 0 is an absorbing element: see Wikipedia/absorbing element

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-needs-discussionStatus: Needs further discussion before merging or work can be started

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions