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

Add "Field" as an associated type in a Hal. #253

Merged
merged 1 commit into from Aug 25, 2022
Merged

Add "Field" as an associated type in a Hal. #253

merged 1 commit into from Aug 25, 2022

Conversation

shkoo
Copy link
Contributor

@shkoo shkoo commented Aug 24, 2022

This PR cuts off the head of the hydra, and adds calls in a bunch
of places to convert between the BabyBear field (e.g. Fp and Fp4)
and the type-erased version of it (Hal::Field::{Elem,ExtElem}).

As other things get genericized, we can remove these conversion
calls.

@shkoo shkoo requested review from flaub, tzerrell and 3lkn August 24, 2022 23:37
@shkoo shkoo marked this pull request as ready for review August 24, 2022 23:37
@3lkn
Copy link
Contributor

3lkn commented Aug 25, 2022

This looks great! Minor note: I just merged my documentation which caused a couple of comment-related conflicts.

This PR cuts off the head of the hydra, and adds calls in a bunch
of places to convert between the BabyBear field (e.g.  Fp and Fp4)
and the type-erased version of it (Hal::Field::{Elem,ExtElem}).

As other things get genericized, we can remove these conversion
calls.
@shkoo shkoo merged commit 8fb382a into main Aug 25, 2022
@shkoo shkoo deleted the nils/hal_field branch August 25, 2022 17:36
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.

None yet

4 participants