mozilla/rust — pull request #4238 by erickt (2012-12-20 15:18:32+00:00)
Title: core: Add a Zero and One trait to num

I believe these are the last traits we need in order to start grouping our numerical types into mathematical groups and rings. Ultimately I'd like to write something like felix's algebraic library:

https://github.com/felix-lang/felix/blob/master/src/lib/std/algebraic.flx

But it'd be nice to first get the foundation into core (and hopefully into 0.5 because it's so simple).