Welcome! Please see the About page for a little more info on how this works.

+1 vote
in Docs by
The current docstring of {{rseq}} indicates that its parameter can be a vector or sorted map:


user=> (doc rseq)
-------------------------
clojure.core/rseq
([rev])
  Returns, in constant time, a seq of the items in rev (which
  can be a vector or sorted-map), in reverse order. If rev is empty returns nil


But, {{rseq}} also works on, say, sorted sets.

Request that the docstring be updated to indicate that {{rseq}} works on any {{rev}} satisfying {{reversible?}}.

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJ-2455 (reported by mfikes)
...