Skip to content

All imutable data structures also need a subtraction operations #2

Open
@Gozala

Description

@Gozala

From what I can tell all the proposed types have extension operations defined but non of them have a subtraction, maybe syntax could be borrowed from elm ?

const point3d = {x: 1, y: 2, z: 17}
const point2d = {...point3d - z}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions