mirror of
https://github.com/janet-lang/janet
synced 2025-07-05 03:22:54 +00:00
Update changelog and documentation.
This commit is contained in:
parent
4355420994
commit
e5242c67ff
@ -2,6 +2,9 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## Unreleased - ???
|
## 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.
|
- Add `dflt` argument to find-index.
|
||||||
- Deprecate `file/popen` in favor of `os/spawn`.
|
- 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
|
- Add `:all` keyword to `ev/read` and `net/read` to make them more like `file/read`. However, we
|
||||||
|
@ -901,7 +901,7 @@
|
|||||||
ret)
|
ret)
|
||||||
|
|
||||||
(defn map
|
(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.`
|
return an array of the results.`
|
||||||
[f & inds]
|
[f & inds]
|
||||||
(def ninds (length inds))
|
(def ninds (length inds))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user