There's a misplaced paren in take-while in the lazy branch.  Patch attached.

--Chouser

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

diff --git a/branches/lazy/src/clj/clojure/core.clj b/branches/lazy/src/clj/clojure/core.clj
index 3daccc6..549dab0 100644
--- a/branches/lazy/src/clj/clojure/core.clj
+++ b/branches/lazy/src/clj/clojure/core.clj
@@ -1511,9 +1511,9 @@
   (pred item) returns true. pred must be free of side-effects."
   [pred coll]
   (lazy-seq
-   (when-let [s (seq coll)]
-     (when (pred (first s)))
-       (cons (first s) (take-while pred (more s))))))
+    (when-let [s (seq coll)]
+      (when (pred (first s))
+        (cons (first s) (take-while pred (more s)))))))
 
 (defn drop
   "Returns a lazy sequence of all but the first n items in coll."

Reply via email to