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 Mon, 18 Nov 2024 15:49:30 +0000