logic/calculators/calculators library

Classes

MatexCalculator<S extends MatexCalculatorState, R>
An abstract class representing a calculator with a state of type S and a result of type R.
MatexCalculatorState
An abstract class representing the state of a Matex calculator.

Typedefs

MatexCalculatorValidator<S> = bool Function(S state)
Defines a function type that takes a MatexCalculatorState object and returns a boolean value. This function is used to validate the state of a calculator.