Accumulator factory: Difference between revisions

Content added Content deleted
Line 2,161: Line 2,161:
Number = object
Number = object
case kind: NumberKind
case kind: NumberKind
of kInt: ival: int
of kInt:
of kFloat: fval: float
ival: int
of kFloat:
fval: float


# The converters allow transparent conversion from int or float to Number.
# The converters allow transparent conversion from int or float to Number.