Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Comments

A # starts a comment that runs to the end of the line. It can follow code, and a # inside a string literal is just text.

# a full-line comment
x = 5 # a trailing comment
println('a # not a comment')

There are no block comments. Indentation and blank lines are ignored, so indent bodies however you like.