Mercerenies / fifi-calculator

1 stars 0 forks source link

Refactor polynomial-term-factor system #129

Closed Mercerenies closed 1 month ago

Mercerenies commented 1 month ago

Polynomial contains terms, but term doesn't contain factors. Would be nice to make Term defined to contain Factor, and it would make a lot of our API more consistent. Also, a lot of unit parsing would become redundant if Term just magically handled that case.