StackOverflowError in clojure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user=> (def col (for [x (range 1 100) y (range 1 100)] (list x y))) | |
#'user/col | |
user=> (reduce #(map + %1 %2) col col) | |
StackOverflowError clojure.core/seq (core.clj:133) | |
user=> (reduce #(map + %1 %2) '(0 0) col) | |
StackOverflowError clojure.core/seq (core.clj:133) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment