1
0
mirror of https://github.com/janet-lang/janet synced 2025-09-02 10:58:03 +00:00

Merge pull request #64 from quan-nh/master

Correct doc for drop-until fn
This commit is contained in:
Calvin Rose
2019-03-09 23:47:00 -05:00
committed by GitHub

View File

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