Add a new `each` method to the Sequence class in the Wren programming language, allowing iteration over sequence elements by passing each element to a provided function. This replaces the previous pattern of using `map` with `Fiber.yield` in examples, providing a more direct and idiomatic way to perform side effects per element. The implementation includes a core library method in `core.wren`, a C source string in `wren_core.c`, documentation in the Sequence markdown file, and three test cases covering normal iteration, empty sequences, and non-function argument error handling.
The Wren scripts in this directory get converted to C string literals and then inserted into their respective .c files so that the interpreter can load them directly without having to do any file IO.
The script that does this copying is script/generate_builtins.py.
You can invoke using make builtin.