All courses
HollowScriptBeginner
HollowScript Fundamentals
Write your first HollowScript programs from scratch, straight in the browser. Store values, make decisions with optional values, loop over lists, write functions and closures, then handle errors properly with Result and match.
Free to browse. You sign in at the first lesson so your progress is saved.
What you will be able to do
- Store values with constant and variable, and show output with uses print and effect print
- Make decisions with if/else and handle an absent value with String? and none
- Loop over a list with for and build up a running total
- Write functions, including ones that return another function (closures)
- Handle failure explicitly with Result, success/failure, match and the ? operator
Syllabus
6 modules and 6 lessons. Each lesson is a short read followed by an exercise with tests.