Skip to content

Commit 4ddc34e

Browse files
wagjostuarthalloway
authored andcommitted
CLJ-2028 Fix docstrings in filter, filterv, remove and take-while
Signed-off-by: Stuart Halloway <stu@cognitect.com>
1 parent 6d08609 commit 4ddc34e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/clj/clojure/core.clj

+4-4
Original file line numberDiff line numberDiff line change
@@ -2772,7 +2772,7 @@
27722772

27732773
(defn filter
27742774
"Returns a lazy sequence of the items in coll for which
2775-
(pred item) returns true. pred must be free of side-effects.
2775+
(pred item) returns logical true. pred must be free of side-effects.
27762776
Returns a transducer when no collection is provided."
27772777
{:added "1.0"
27782778
:static true}
@@ -2805,7 +2805,7 @@
28052805

28062806
(defn remove
28072807
"Returns a lazy sequence of the items in coll for which
2808-
(pred item) returns false. pred must be free of side-effects.
2808+
(pred item) returns logical false. pred must be free of side-effects.
28092809
Returns a transducer when no collection is provided."
28102810
{:added "1.0"
28112811
:static true}
@@ -2867,7 +2867,7 @@
28672867

28682868
(defn take-while
28692869
"Returns a lazy sequence of successive items from coll while
2870-
(pred item) returns true. pred must be free of side-effects.
2870+
(pred item) returns logical true. pred must be free of side-effects.
28712871
Returns a transducer when no collection is provided."
28722872
{:added "1.0"
28732873
:static true}
@@ -6814,7 +6814,7 @@
68146814

68156815
(defn filterv
68166816
"Returns a vector of the items in coll for which
6817-
(pred item) returns true. pred must be free of side-effects."
6817+
(pred item) returns logical true. pred must be free of side-effects."
68186818
{:added "1.4"
68196819
:static true}
68206820
[pred coll]

0 commit comments

Comments
 (0)