An ngn/k tutorial. These are scripts for future videos, but can be used as learning material as is.
Currently in progress: Chapter 8 sudoku
This tutorial assumes you have some beginner programming knowledge, and a basic understanding of what arrays are.
The progression will start from explaining basic primitives, and move on to bigger concepts. The final few chapters will implement full programs in K, step by step.
Primitive data will be given in this format:
Symbol: <symbol>
Args: <types of args>
Description: Create a dict with keys x
and values y
. x
and y
must be of equal length.
Each part of this tutorial will have Vocabulary
and Exercise
(pending) sections at the end. I suggest getting familiar with the vocabulary and doing the exercises in each part before moving on the next lesson.