Skip to content

Commit

Permalink
Fix documentation for cljs.core/filter
Browse files Browse the repository at this point in the history
Copied correct documentation from clojuredocs.org. The previous documentation
seemed to be the one for `cljs.core/keep`.
  • Loading branch information
gnl committed Apr 30, 2018
1 parent a5eed67 commit 3b76cdc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/cljs.core_filter.cljsdoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
cljs.core/filter

===== Signature
[f]
[f coll]
[pred]
[pred coll]

===== Description

Returns a lazy sequence of the non-nil results of `(f item)`. Note, this means
false return values will be included.
Returns a lazy sequence of the items in coll for which `(pred item)` returns
logical true.

`f` must be free of side-effects.
`pred` must be free of side-effects.

Returns a transducer when no collection is provided.

Expand Down

0 comments on commit 3b76cdc

Please sign in to comment.