typst/src/eval
Laurenz c94a18833f Closures and function definitions 🚀
Supports:
- Closure syntax: `(x, y) => z`
- Shorthand for a single argument: `x => y`
- Function syntax: `let f(x) = y`
- Capturing of variables from the environment
- Error messages for too few / many passed arguments

Does not support:
- Named arguments
- Variadic arguments with `..`
2021-03-03 17:53:40 +01:00
..
capture.rs Closures and function definitions 🚀 2021-03-03 17:53:40 +01:00
mod.rs Closures and function definitions 🚀 2021-03-03 17:53:40 +01:00
ops.rs Make templates and strings summable 🥪 2021-02-12 23:11:47 +01:00
scope.rs Closures and function definitions 🚀 2021-03-03 17:53:40 +01:00
value.rs Closures and function definitions 🚀 2021-03-03 17:53:40 +01:00