Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Operator alternatives #15

@leobalter

Description

@leobalter
  • 50~px: no current syntax for the ~ operator after a number, it's also possible to use it with strings (Why only numeric? Why not extensible string literals? #3): "leo"~utf8. You can even extend the operator to variable names value~px. Only con, if it's a con: single line usage required. No need to extend this proposal to variables for now, but no need to block them either.
  • 50@px: same perks of using tilde. AFAICT, decorators won't conflict with this usage if it's in the same line.

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