hd-lang

Tour · 18 of 18

Where next

The program on the right prints three places to go after the tour.

#Further reading

#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+→