Skip to content

Allow comments in the middle of |> pipelines #635

@farism

Description

@farism

Allowing comments in the middle of |> pipelines would be very useful

component Main {
  fun render : Html {
    let sum =
      [1, 2, 3]
      |> Array.map((i : Number) { i * 2 })
      // |> Array.select((i : Number) { i % 3 == 0 })
      |> Array.reduce(0, (acc : Number, i : Number) { acc + i })

    <div>"#{sum}"</div>
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions