Compare a list of strings: Difference between revisions
Content added Content deleted
m (→{{header|ALGOL 68}}: Use spaces instead of tabs) |
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
||
Line 3,154: | Line 3,154: | ||
</pre> |
</pre> |
||
=={{header|Vlang}}== |
=={{header|V (Vlang)}}== |
||
{{trans|go}} |
{{trans|go}} |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="v (vlang)">fn all_equal(strings []string) bool { |
||
for s in strings { |
for s in strings { |
||
if s != strings[0] { |
if s != strings[0] { |