Skip to main content

Module content

Module content 

Source

Structs§

ContentEngine
Curriculum
Era
EraMeta
ExerciseConfig
Lesson
One lesson on the Learn roadmap: a section, with the module and era it belongs to.
Module
ModuleMeta
Section
A section of a module: one lesson on the Learn roadmap.
SymbolDef
A symbol definition for the glossary

Enums§

ContentBlock
A block of a lesson’s teaching. Its examples and its question have fields of their own (Section::examples, Section::question).
ExerciseType
LessonExample
One example of a lesson.
LessonQuestion
The question that closes a lesson.

Functions§

natural_cmp
Orders ids the way they count: runs of digits compare as numbers, so A_1.2 precedes A_1.10 and C_6.99 precedes C_6.100, and everything else compares as text, ignoring case. Ids that still tie (01 vs 1, a vs A) fall back to plain text order so the ordering stays total.