Skip to content

require space between < and unary operators? #25337

@JeffBezanson

Description

@JeffBezanson

This would allow us to add <- and <~ as operators (see e.g. #16985 (comment)). x<-1 for comparing x to -1 is arguably not good style.

We could add ~> now, which would only break applying bitwise not to the > operator (which is pretty silly, although !> is a different story :) ).

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingThis change will break codeneeds decisionA decision on this change is neededparserLanguage parsing and surface syntax

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions