summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 14:02:57 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 14:02:57 +0300
commit7d754768b8d610015cdb016ecda54bbdad54fa6c (patch)
treeb57bce192aa0ecdac3934b9d636e2b64f32a96de /cmd
parentf3beef8ce2f538783889c55d685fa30a471983b7 (diff)
fix(rpn): extract metric inference rules into data-driven maps (task kj)
Replace hardcoded switch statements in resultMetricForMul and resultMetricForDiv with package-level maps (multiplicationInference, divisionInference). Adding new category pairs now only requires appending to the maps instead of editing control flow, satisfying OCP.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions