Skip to content

[Syntactic Sugar] Infix ternary operator syntax #16

Description

@Argavyon

Infix syntax for existing ternary operators, and for a future boolean ternary operator, would also make for a great addition, using either javascript-like syntax cond ? a : b (which is common with many other languages) or python-like syntax a if cond else b.

Originally posted by @Argavyon in #14 (comment)

As always, I'm willing to implement it myself if feature is desired.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions