Skip to content

core: Add a Zero and One trait to num - #4238

Merged
erickt merged 1 commit into
rust-lang:incomingfrom
erickt:zero
Dec 20, 2012
Merged

core: Add a Zero and One trait to num#4238
erickt merged 1 commit into
rust-lang:incomingfrom
erickt:zero

Conversation

@erickt

@erickt erickt commented Dec 20, 2012

Copy link
Copy Markdown
Contributor

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).

I believe these are the last traits we need in order
to start grouping our numerical types into mathematical
groups and rings.
@erickt

erickt commented Dec 20, 2012

Copy link
Copy Markdown
Contributor Author

This is related to #4231.

@graydon

graydon commented Dec 20, 2012

Copy link
Copy Markdown
Contributor

r+, fun times in CAS-land

@erickt
erickt merged commit e8102e7 into rust-lang:incoming Dec 20, 2012
@thestinger thestinger mentioned this pull request Dec 22, 2012
calebcartwright pushed a commit to calebcartwright/rust that referenced this pull request Nov 8, 2021
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
4296: Support cargo:rustc-cfg in build.rs r=matklad a=robojumper

Fixes rust-lang#4238.

Co-authored-by: robojumper <robojumper@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants