Skip to content

Commit 4d0f91f

Browse files
author
sogaiu
committed
Fix mapcat docstring
1 parent e2cc8f2 commit 4d0f91f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/boot/boot.janet

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,8 +1103,9 @@
11031103
and use `array/concat` to concatenate the results, but only if
11041104
no `inds` are provided. Multiple data structures can be handled
11051105
if each `inds` is a data structure and `f` is a function of
1106-
arity one more than the number of `inds`. The resulting array
1107-
has a length that is the shortest of `ind` and each of `inds`.
1106+
arity one more than the number of `inds`. Note that `f` is only
1107+
applied to values at indeces up to the largest index of the
1108+
shortest of `ind` and each of `inds`.
11081109
```
11091110
[f ind & inds]
11101111
(def res @[])

0 commit comments

Comments
 (0)