ClojureScript

Mismatch between rseq param and docstring

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Completed
  • Affects Version/s: 1.7.145
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Patch:
    Code

Description

Note the use of coll for param name and rev in docstring.

cljs.user=> (doc rseq)
-------------------------
cljs.core/rseq
([coll])
  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
nil

FWIW, Clojure uses rev for param name.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: