mirror of
https://github.com/janet-lang/janet
synced 2025-04-07 15:56:39 +00:00
Merge pull request #64 from quan-nh/master
Correct doc for drop-until fn
This commit is contained in:
commit
6fa60820a3
@ -700,7 +700,7 @@
|
||||
|
||||
(defn drop-until
|
||||
"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]
|
||||
(def i (find-index pred ind))
|
||||
(array/slice ind i))
|
||||
|
Loading…
x
Reference in New Issue
Block a user