Skip to content

Consensus check: let-chains and is are not mutually exclusive #297

Open
@joshtriplett

Description

@joshtriplett

In a recent lang design planning meeting, we discussed whether we considered let-chains (if let pat = expr && let pat2 = expr2) and is (if expr is pat && expr2 is pat2) mutually exclusive, such that accepting one made us disinclined to consider the other.

The consensus from the meeting was that we consider these features both potentially valuable, and that accepting one does not preclude us from considering the other on the sole basis of having more than one way to do something.

Filing this issue to record and confirm that consensus.

To be clear, this consensus would not mean* that we are committing to accept is, just that we don't think the two features are inherently mutually exclusive.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions