summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2009-02-16 22:02:36 +0000
committerRich Hickey <richhickey@gmail.com>2009-02-16 22:02:36 +0000
commit2000a90e0095d6409b7747c01b1e958088137c66 (patch)
treea1340ee50f36b0880e846ce6c5c68aef83867566
parent509a56a1e07c471211cba339de2c5c6d7bef4e82 (diff)
[lazy] updated docs
-rw-r--r--src/clj/clojure/core.clj12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj
index fbae2ab4..2053f41b 100644
--- a/src/clj/clojure/core.clj
+++ b/src/clj/clojure/core.clj
@@ -47,13 +47,15 @@
(def
#^{:arglists '([coll])
+ :tag clojure.lang.ISeq
:doc "Returns a seq of the items after the first. Calls seq on its
argument. If there are no more items, returns nil."}
next (fn next [x] (. clojure.lang.RT (next x))))
(def
#^{:arglists '([coll])
- :doc "Returns a seqable collection of the items after the first. May return nil. Calls seq on its
+ :tag clojure.lang.ISeq
+ :doc "Returns a possibly empty seq of the items after the first. Calls seq on its
argument."}
rest (fn rest [x] (. clojure.lang.RT (more x))))
@@ -96,10 +98,10 @@
(def
#^{:arglists '([coll])
- :doc "Returns a new ISeq on the collection. If the
- collection is empty, returns nil. (seq nil) returns nil. seq also
- works on Strings, native Java arrays (of reference types) and any
- objects that implement Iterable."
+ :doc "Returns a seq on the collection. If the collection is
+ empty, returns nil. (seq nil) returns nil. seq also works on
+ Strings, native Java arrays (of reference types) and any objects
+ that implement Iterable."
:tag clojure.lang.ISeq}
seq (fn seq [coll] (. clojure.lang.RT (seq coll))))