Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Dec 20, 2012
Merged

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Dec 20, 2012

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
Copy link
Contributor Author

erickt commented Dec 20, 2012

This is related to #4231.

@graydon
Copy link
Contributor

graydon commented Dec 20, 2012

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