Warning: Work in progress! Leave feedback on Zulip or Github if you'd like this doc to be updated.

YSH Objects - Modules, Closures, and More

Table of Contents
Proc-Like
Stateful Proc Counter
Func-Like
Stateful Func Counter
Examples
Procs - Modules
Funcs - Closures in a Loop
DSLs like Hay, Flag Parser, etc.

Proc-Like

Stateful Proc Counter

Func-Like

Stateful Func Counter

Examples

Procs - Modules

invokable No state

Funcs - Closures in a Loop

The famous example.

DSLs like Hay, Flag Parser, etc.

These use procs and value.Obj?

Generated on Sun, 13 Oct 2024 20:13:07 +0000