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

Hello world

We can use the the IO.println function to display some text. But just calling the function won't really "do" anything. To actually execute side effects, we'll need to assign them to a publically exposed value called main, of type Task<Unit>:

import IO

pub let main = IO.println("Hello world!")