plonky2 icon indicating copy to clipboard operation
plonky2 copied to clipboard

refactor: remove superfluous type parameters

Open Daniel-Aaron-Bloom opened this issue 1 year ago • 0 comments

Many types and functions use generics with parameters like:

F: RichField + Extendable<D>, C: GenericConfig<D, F = F>

Instead, those places could use C: GenericConfig<D>, substituting C::F in place of F where necessary.

PackedField is a similar story.

Removing these parameters can simplify type declarations and turbofishes for downstream crates.

Daniel-Aaron-Bloom avatar May 20 '24 06:05 Daniel-Aaron-Bloom