Skip to content

Commit 2000a90

Browse files
committed
[lazy] updated docs
1 parent 509a56a commit 2000a90

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/clj/clojure/core.clj

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@
4747

4848
(def
4949
#^{:arglists '([coll])
50+
:tag clojure.lang.ISeq
5051
:doc "Returns a seq of the items after the first. Calls seq on its
5152
argument. If there are no more items, returns nil."}
5253
next (fn next [x] (. clojure.lang.RT (next x))))
5354

5455
(def
5556
#^{:arglists '([coll])
56-
:doc "Returns a seqable collection of the items after the first. May return nil. Calls seq on its
57+
:tag clojure.lang.ISeq
58+
:doc "Returns a possibly empty seq of the items after the first. Calls seq on its
5759
argument."}
5860
rest (fn rest [x] (. clojure.lang.RT (more x))))
5961

@@ -96,10 +98,10 @@
9698

9799
(def
98100
#^{:arglists '([coll])
99-
:doc "Returns a new ISeq on the collection. If the
100-
collection is empty, returns nil. (seq nil) returns nil. seq also
101-
works on Strings, native Java arrays (of reference types) and any
102-
objects that implement Iterable."
101+
:doc "Returns a seq on the collection. If the collection is
102+
empty, returns nil. (seq nil) returns nil. seq also works on
103+
Strings, native Java arrays (of reference types) and any objects
104+
that implement Iterable."
103105
:tag clojure.lang.ISeq}
104106
seq (fn seq [coll] (. clojure.lang.RT (seq coll))))
105107

0 commit comments

Comments
 (0)