The Skull Brig: failure contexts and the <decides> operator
In this lesson you'll learn to
- Student can write failable functions with <decides><transacts> and call them inside if-contexts so failures roll back instead of crashing.
Student can write failable functions with <decides><transacts> and call them inside if-contexts so failures roll back instead of crashing.
π§© Your capstone piece: Failable checkpoint validation: ValidateCheckpoint[Racer, Index]<decides> gates lap progress (FAILS compile 2 err β rewrite; also compile-gate verse-failure-contexts which has no compile key; passing failure-context-required + failure-decides back it)
Keep going β free
You've read the intro. The rest of this lesson β the worked example, the hands-on exercise, the quiz, and the recap β is free for members. Sign in to continue and track your progress.
New here? The whole Verse Basics track is free with a free account β sign in to start.
Β© Biloxi Studios Inc. β original Verse Island content.
Turn this into a guided course
Add The Skull Brig: failure contexts and the <decides> operator to your free study plan β we'll suggest related pages and stitch the lot into one compile-checked, self-guided lesson with worked examples and quizzes.
π§ The Keeper's log
Quest complete? Chart your next heading from the π¦ West Coves expedition.