clojure.core/iterate returns with 'cons', not lazy-seq. #4

Closed
wants to merge 1 commit into from

2 participants

@S11001001
user> (clojure-version)
"1.5.1"
user> (class (iterate inc 0))
clojure.lang.Cons

I left it ISeq, a supertype of ∀a.(U (ASeq a) (LazySeq a)), as it seems reasonable to some to make it LazySeq-returning in the future.

@S11001001 S11001001 clojure.core/iterate returns with 'cons', not lazy-seq. 5e45b02
@frenchy64 frenchy64 closed this Dec 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment