Skip to content

Uni pipe chaining for imperative APIs #2748

@chenglou

Description

@chenglou
let mySet = Set.make();
mySet |. [
  Set.add(1),
  Set.add(2),
  Set.remove(1),
];

This feature was held back due to being overly magical and due to |. still being new. Upvote this issue if you'd like to see it re-released.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleOld issues that went stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions