1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-24 22:23:15 +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
commit 6fa60820a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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