1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-29 01:40:26 +00:00

Use 'different from' in preference to 'different to'

This commit is contained in:
Michael Camilleri 2020-12-05 16:43:44 +09:00
parent 9aa1b9c740
commit 7c1a52ae65
No known key found for this signature in database
GPG Key ID: 7EB218A48DF8B572

View File

@ -947,7 +947,7 @@
(defn keep (defn keep
``Given a predicate `pred`, return a new array containing the truthy results ``Given a predicate `pred`, return a new array containing the truthy results
of applying `pred` to each element in the indexed collection `ind`. This is of applying `pred` to each element in the indexed collection `ind`. This is
different to `filter` which returns an array of the original elements where different from `filter` which returns an array of the original elements where
the predicate is truthy.`` the predicate is truthy.``
[pred ind] [pred ind]
(def res @[]) (def res @[])