1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 17:57:17 +00:00

Correct doc for drop-until fn

This commit is contained in:
Quan Nguyen 2019-03-10 11:36:27 +07:00
parent 8ba1121161
commit 609a9621af

View File

@ -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))