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 Fri, 15 Nov 2024 15:48:06 +0000