Skip to content

Control Flow Collections #78

Closed
Closed
@munificent

Description

@munificent

In order to handle conditionally omitting elements from list literals (#62, #70), I propose that we allow if and for inside list and map literals.

Feature specification draft.

This issue is for discussing that proposal.

Edit: The proposal has been accepted as is being implemented. The implementation work is tracked in #165.

Metadata

Metadata

Assignees

Labels

featureProposed language feature that solves one or more problems

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions