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

adding a x/y getter, useful for plume #36

Closed
wants to merge 1 commit into from
Closed

Conversation

signorecello
Copy link

Adding two getters for x and y, most likely could have done without them but thought it would be easy enough this way

@@ -245,7 +245,9 @@ where
}
}

trait BigCurveTrait {
pub trait BigCurveTrait<BigNum> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm reluctant to introduce a generic here, just to support this.

The BigCurve struct already has pub members x and y. Why couldn't you access those, sorry?

@TomAFrench
Copy link
Member

I'm also leery of adding a generic to the trait.

In general when making significant changes to libraries, I'd like to see a bit more context about the problem you're solving and why this would be useful. Whenever we add more stuff to the library interface that's more stuff that we need to maintain going forwards so it needs to be justified.

@iAmMichaelConnor
Copy link
Collaborator

I'm going to politely close this one, to clear up my notifications :) Thanks for continuing to try to improve things! Keep it up!

@TomAFrench TomAFrench deleted the zkpedro/for_plume branch February 21, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants