Skip to content

∧ and ∨ as aliases for && and || #17472

Closed
@ViktorQvarfordt

Description

@ViktorQvarfordt

Allow use of unicode symbols and as aliases for && and ||, respectively.

This is in line with existing unicode aliases, such as:

  • = <=
  • = >=
  • = !=
  • = in
  • = issubset

Furthermore, I suggest ¬ as alias for !.

The purpose of these aliases is, of course, to allow use of standard mathematical/logical symbols, hence also making the code more readable.

(Note that this is not related to #5238. I am strictly talking about aliases, not replacing or removing anything, nor changing any precedences.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    speculativeWhether the change will be implemented is speculative

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions