1
0
mirror of https://github.com/janet-lang/janet synced 2025-08-29 17:08:03 +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

View File

@@ -947,7 +947,7 @@
(defn keep
``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
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.``
[pred ind]
(def res @[])