diff options
author | Stuart Sierra <mail@stuartsierra.com> | 2008-07-13 20:17:16 +0000 |
---|---|---|
committer | Stuart Sierra <mail@stuartsierra.com> | 2008-07-13 20:17:16 +0000 |
commit | c9299c5cbc6f05672aebbbbf9ea3e1cce26f1a14 (patch) | |
tree | 0d9130de2e7c28dec9c7d58fb9c55b774d2f5af6 | |
parent | 5378d0363fbb0bc6d2ae3d6f359650b7bdd169ee (diff) |
seq-utils.clj: deprecated batch for clojure/partition.
-rw-r--r-- | seq-utils.clj | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/seq-utils.clj b/seq-utils.clj index 1a1e5d5b..7d0bb6da 100644 --- a/seq-utils.clj +++ b/seq-utils.clj @@ -27,7 +27,8 @@ (defn batch "Returns a sequence of sequences, each containing 'size' elements - from s." + from s. DEPRECATED in favor of clojure/partition, added to boot.clj + in r865." [size s] (when s (lazy-cons (take size s) (batch size (drop size s))))) |