Skip to content

refactor: simplify calculator dispatch with variadic Set methods#18

Merged
shanehull merged 1 commit into
mainfrom
feat/variadic-set
Jul 23, 2026
Merged

refactor: simplify calculator dispatch with variadic Set methods#18
shanehull merged 1 commit into
mainfrom
feat/variadic-set

Conversation

@shanehull

Copy link
Copy Markdown
Owner

SetN/SetI/SetPV/SetPMT/SetFV are already variadic (PR #16). This cleans up the callers:

  • calculator.go storeTVM dispatches c.e.SetN() instead of c.e.SetN(c.e.X)
  • README table updated to document the no-arg form

@shanehull
shanehull force-pushed the feat/variadic-set branch from 55f208c to 6e0b299 Compare July 23, 2026 07:38
@shanehull
shanehull force-pushed the feat/variadic-set branch from 6e0b299 to a95f5fc Compare July 23, 2026 07:51
@shanehull
shanehull merged commit d81b0d2 into main Jul 23, 2026
6 checks passed
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.

1 participant