Hailstone sequence: Difference between revisions
→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)"
m (→{{header|FutureBasic}}: Tweak indents again) |
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
||
Line 9,973:
</pre>
=={{header|V (Vlang)}}==
{{trans|go}}
<syntaxhighlight lang="v (vlang)">// 1st arg is the number to generate the sequence for.
// 2nd arg is a slice to recycle, to reduce garbage.
fn hs(nn int, recycle []int) []int {
|