summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2007-09-19 15:46:24 +0000
committerRich Hickey <richhickey@gmail.com>2007-09-19 15:46:24 +0000
commit2ed2685f04662cff7e46de9f2a8847cb1e0ab7eb (patch)
tree28fa4c611469f6b864fd562baf5edf94f4a0975f
parent8882ed0d74714d58dac777ec7383beab184fb38a (diff)
added seq, count
-rw-r--r--src/boot.clj8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/boot.clj b/src/boot.clj
index cea9fcc3..d40d4699 100644
--- a/src/boot.clj
+++ b/src/boot.clj
@@ -186,6 +186,14 @@
(defn identity [x] x)
+;;Collection stuff
+
+(defn seq [coll]
+ (. RT (seq coll)))
+
+(defn count [coll]
+ (. RT (count coll)))
+
;;map stuff
(defn contains [coll key]