Catamorphism: Difference between revisions

m
→‎{{header|V (Vlang)}}: "vfn" was changed to "fn" in the first line of code.
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
m (→‎{{header|V (Vlang)}}: "vfn" was changed to "fn" in the first line of code.)
Line 2,804:
=={{header|V (Vlang)}}==
{{trans|go}}
<syntaxhighlight lang="v (vlang)">vfn main() {
fn main() {
n := [1, 2, 3, 4, 5]
1

edit