mirror of
https://github.com/janet-lang/janet
synced 2024-11-25 09:47:17 +00:00
Correct doc for drop-until fn
This commit is contained in:
parent
8ba1121161
commit
609a9621af
@ -700,7 +700,7 @@
|
|||||||
|
|
||||||
(defn drop-until
|
(defn drop-until
|
||||||
"Given a predicate, remove elements from an indexed type that satisfy
|
"Given a predicate, remove elements from an indexed type that satisfy
|
||||||
the predicate, and abort on first failure. Returns a new tuple."
|
the predicate, and abort on first failure. Returns a new array."
|
||||||
[pred ind]
|
[pred ind]
|
||||||
(def i (find-index pred ind))
|
(def i (find-index pred ind))
|
||||||
(array/slice ind i))
|
(array/slice ind i))
|
||||||
|
Loading…
Reference in New Issue
Block a user