Skip to content

Subtraction term #25

Description

@ptal

The problem with Addition::new(x, -b) is that b needs to be signed. We therefore needs a Subtraction term. Both can be implemented with a more general structure ArithTerm<Op,InvOp> where Addition = ArithTerm<Add, Sub> and Subtraction = ArithTerm<Sub, Add>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions