Closed
Description
I'm not sure how feasible this currently is. We would have to think in terms of compile-time, zero-cost abstractions. On #rust:
erickt: once we get default methods we can make proper mathematical groups, semigroups, rings, and etc
Relevant articles on Wikipedia:
Other things to consider in the same vein are units of measure, range types and mod types. Perhaps these could be implemented via traits and default methods.
Metadata
Metadata
Assignees
Labels
No labels