<commit_before>+++
title = "Hoon Workbook"
weight = 150
sort_by = "weight"
template = "sections/docs/chapters.html"
aliase = ["docs/learn/hoon/workbook/"]
+++
The Workbook is the place to sharpen your Hoon skills. Each entry in the
Workbook is a code walkthrough followed by exercises.

- The [Digits](@/docs/tutorials/hoon/hoon-school/workbook/digits.md) example demonstrates how to decompose a number into a list of its digits.

- The [Magic 8-Ball](@/docs/tutorials/hoon/hoon-school/workbook/eightball.md) example emulates everyone's favorite decision-making machine.

- The [Traffic-light](@/docs/tutorials/hoon/hoon-school/workbook/traffic-light.md) example demonstrates how to creates a state machine in Hoon.

- The [Bomb-defusing](@/docs/tutorials/hoon/hoon-school/workbook/bomb.md) exercise shows how to program, well, a bomb-defusing scenario.<commit_msg>hoon/workbook: fix relative links<commit_after>+++
title = "Hoon Workbook"
weight = 150
sort_by = "weight"
template = "sections/docs/chapters.html"
aliase = ["docs/learn/hoon/workbook/"]
+++
The Workbook is the place to sharpen your Hoon skills. Each entry in the
Workbook is a code walkthrough followed by exercises.

- The [Digits](@/docs/tutorials/hoon/workbook/digits.md) example demonstrates how to decompose a number into a list of its digits.

- The [Magic 8-Ball](@/docs/tutorials/hoon/workbook/eightball.md) example emulates everyone's favorite decision-making machine.

- The [Traffic-light](@/docs/tutorials/hoon/workbook/traffic-light.md) example demonstrates how to creates a state machine in Hoon.

- The [Bomb-defusing](@/docs/tutorials/hoon/workbook/bomb.md) exercise shows how to program, well, a bomb-defusing scenario.
{'fraction_non_alphanumeric': 0.11633372502937721, 'fraction_numerical': 0.004700352526439483, 'mean_word_length': 4.772881355932204, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2867206', 'n_tokens_mistral': 586, 'n_tokens_neox': 555, 'n_words': 164}