Tour · 18 of 18
Where next
The program on the right prints three places to go after the tour.
#Further reading
- The playground runs whole projects and shows their WebAssembly.
- Learn hd in 10 Minutes keeps the syntax on one page, while Working With Data builds larger programs and packages.
- The command guide covers
hd new,hd add, package tasks, formatting, linting, tests, and builds. - The specification states every accepted rule and diagnostic.
#One last program
for next in [Next.Playground, Next.Guide, Next.Spec]:
println(label(next))This program uses only forms the tour already introduced: an enum, a match
and a for loop.
Run it. It prints one line for each place. Change a label and press Run again.
Run: Ctrl+Enter · Pages: Alt+← Alt+→