Accumulator factory: Difference between revisions
Content added Content deleted
(Added comment.) |
|||
Line 2,184: | Line 2,184: | ||
Result of the accumulator function is of type "Number" but will be displayed either as "int" or "float" |
Result of the accumulator function is of type "Number" but will be displayed either as "int" or "float" |
||
according to the actual contents. |
according to the actual contents. |
||
This solution fulfills the requirements. |
|||
<lang Nim> |
<lang Nim> |
||
type |
type |