typst/tests/typ/expr
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
..
array.typ Reorganize tests 🔀 2021-02-20 23:34:33 +01:00
assoc.typ Reorganize tests 🔀 2021-02-20 23:34:33 +01:00
block-invalid.typ Reorganize tests 🔀 2021-02-20 23:34:33 +01:00
block-scoping.typ Reorganize tests 🔀 2021-02-20 23:34:33 +01:00
block.typ Reorganize tests 🔀 2021-02-20 23:34:33 +01:00
call-invalid.typ Reorganize tests 🔀 2021-02-20 23:34:33 +01:00
call.typ Reorganize tests 🔀 2021-02-20 23:34:33 +01:00
closure.typ Closures and function definitions 🚀 2021-03-03 17:53:40 +01:00
dict.typ Reorganize tests 🔀 2021-02-20 23:34:33 +01:00
ops-invalid.typ Reorganize tests 🔀 2021-02-20 23:34:33 +01:00
ops.typ Reorganize tests 🔀 2021-02-20 23:34:33 +01:00
prec.typ Reorganize tests 🔀 2021-02-20 23:34:33 +01:00