Anonymous user
Product of Array: Difference between revisions
→[[Seed7]]
(→[[Toka]]: Updated to work with Toka R1) |
|||
Line 296:
writeln(prodArray([](1, 2, 3, 4, 5)));
==[[Smalltalk]]==
[[Category:Smalltalk]]
#(1 2 3) inject: 1 into: [:product :number | product * number]
==[[Standard ML]]==
|