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

Provide derives for Neg and the *Assign traits. #38

Open
oli-cosmian opened this issue Jun 30, 2020 · 1 comment
Open

Provide derives for Neg and the *Assign traits. #38

oli-cosmian opened this issue Jun 30, 2020 · 1 comment

Comments

@oli-cosmian
Copy link

These are equally straight forward as the other numeric impls, I'm guessing there just wasn't any need for these derives so far?

@cuviper
Copy link
Member

cuviper commented Jul 5, 2020

Yeah, it's kind of weird because we don't really have derive(Add) etc., just derive(NumOps) which really implies the necessary ops. At least NumOps is specific to num-traits, but maybe we could also break out derives for all of the individual ops. It's a little bit of scope creep, but still in the general num domain.

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

No branches or pull requests

2 participants