summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-25 17:29:33 +0200
committerPaul Buetow <paul@buetow.org>2026-03-25 17:29:33 +0200
commit7a9230bfc754d72e7e805fef1ba849b37b58adf0 (patch)
treec35622e61aa629c0912621b21655fdb8c04cfa1c
parent0dae7e95019c5bee205d4f1be270e6ca50750120 (diff)
refactor: Granular interfaces already exist for Operations struct
The Granular interfaces already exist in internal/rpn/operations.go: - ArithmeticOperator: Add, Subtract, Multiply, Divide, Power, Modulo, Log2, Log10, Ln - BooleanOperator: GT, LT, GTE, LTE, EQ, NEQ - HyperOperator: HyperAdd, HyperSubtract, HyperMultiply, HyperDivide, HyperPower, HyperModulo, HyperLog2, HyperLog10, HyperLn - StackOperator: Dup, Swap, Pop, Show - VariableOperator: ListVariables, ClearVariables - Operator: combines all the above interfaces The Operations struct uses these interfaces through composition, adhering to the Interface Segregation Principle.
0 files changed, 0 insertions, 0 deletions