Make generics more focused #34

Closed
opened 2022-07-29 04:42:25 +00:00 by glen · 1 comment
Owner

Right now, subtract operates on any two objects, and uses the full implementation of negate and any. In keeping with the spirit of how add() and friends are currently implemented, perhaps it should operate on two objects of the same type, and rely on add and negate of specific signatures...

Right now, subtract operates on any two objects, and uses the full implementation of negate and any. In keeping with the spirit of how add() and friends are currently implemented, perhaps it should operate on two objects of the same type, and rely on add and negate of specific signatures...
Author
Owner

After some kicking around of possibilities, it seems to me the way to do this is with template operations, part of what's called for in #31.

After some kicking around of possibilities, it seems to me the way to do this is with template operations, part of what's called for in #31.
glen added the
example
label 2022-07-30 15:37:23 +00:00
glen closed this issue 2022-08-01 10:09:32 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: glen/pocomath#34
No description provided.