Skip to content

Commit 331d640

Browse files
mfikesswannodette
authored andcommitted
CLJS-1530: Mismatch between rseq param and docstring
Rename param from coll to rev to match docstring. This is also consistent with Clojure, which uses rev for the reversible parameter name.
1 parent f525d97 commit 331d640

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2828,8 +2828,8 @@ reduces them without incurring seq initialization"
28282828
(defn ^seq rseq
28292829
"Returns, in constant time, a seq of the items in rev (which
28302830
can be a vector or sorted-map), in reverse order. If rev is empty returns nil"
2831-
[coll]
2832-
(-rseq coll))
2831+
[rev]
2832+
(-rseq rev))
28332833

28342834
(defn reverse
28352835
"Returns a seq of the items in coll in reverse order. Not lazy."

0 commit comments

Comments
 (0)