From e5242c67ff7b1fd304441dae7699eda593a03773 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sun, 3 Jan 2021 16:30:43 -0600 Subject: [PATCH] Update changelog and documentation. --- CHANGELOG.md | 3 +++ src/boot/boot.janet | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0bb7709..8f540d36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. ## Unreleased - ??? +- Define `next`, `get`, and `in` for fibers. This lets + `each`, `map`, and similar iteration macros can now iterate over fibers. +- Remove macro `eachy`, which can be replaced by `each`. - Add `dflt` argument to find-index. - Deprecate `file/popen` in favor of `os/spawn`. - Add `:all` keyword to `ev/read` and `net/read` to make them more like `file/read`. However, we diff --git a/src/boot/boot.janet b/src/boot/boot.janet index 08866ff8..496e1264 100644 --- a/src/boot/boot.janet +++ b/src/boot/boot.janet @@ -901,7 +901,7 @@ ret) (defn map - `Map a function over every element in an indexed data structure and + `Map a function over every value in a data structure and return an array of the results.` [f & inds] (def ninds (length inds))