Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Derive Macro

Source: lib/derive.x

Guide: Deriving Record Mappings

Generate record mappings from declared fields.

Include it with #include "derive.x".

It defines the $derive macro; Deriving record mappings describes it.