Functional programming guerilla in the land of Rust
summary
Claims that Rust provides real functional tools: first‑class closures, algebraic enums, traits like type classes, hygienic macros and heap boxing. Builds a recursive function composition macro that expands to nested closures, works with functions, methods and iterators, and the optimizer removes allocation. Shows benchmarks show equal performance between macro-generated and hand‑written pipelines. Notes escape hatches (unsafe globals), nightly ergonomics for boxed closures, and procedural macros for more complex code generation.
AI-written summary · about
chapters (21)
- 0:00Intro
- 0:30Close function
- 1:00Type inference
- 4:00Functions
- 5:00Type Signature
- 7:00Changes
- 8:00Safe keyword
- 9:00Data types
- 10:00Shape type
- 11:00Option type
- 12:00Option strings
- 13:00Restrictions
- 14:00Inverse
- 15:00EQ
- 16:00Restless
- 19:00Macros
- 20:00Syntax
- 21:00Macro
- 23:00IDS
- 28:00Functions types
- 30:00Simple macros








