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:
parent
9aa1b9c740
commit
7c1a52ae65
@ -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 @[])
|
||||||
|
Loading…
Reference in New Issue
Block a user