Catamorphism: Difference between revisions

→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)"
m (Automated syntax highlighting fixup (second round - minor fixes))
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
Line 2,802:
Debug.Print WorksheetFunction.Product(s)
End Sub</syntaxhighlight>
=={{header|V (Vlang)}}==
{{trans|go}}
<syntaxhighlight lang="v (vlang)">vfn main() {
n := [1, 2, 3, 4, 5]
Line 2,830:
120
</pre>
 
=={{header|WDTE}}==
Translated from the JavaScript ES6 example with a few modifications.
451

edits