Skip to content

Clarify binary operators generally, including pipe #127

@Crell

Description

@Crell

The new pipe operator is a binary operator, but technically the spec says "All binary [arithmetic][], [comparison][], [assignment][], [bitwise][], [logical][], [string][], and [type][]" operators need wrapping spaces. Is the pipe part of that? Unclear.

At minimum, we should add an example of a proper pipe chain (both single-line and multi-line variants).

We may also want to reword the Binary operators section in 6.2 to be a bit more complete. (And either remove the empty links or fill in links for them. WTH?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions