Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; this works fine and prints out
- ;; (0 0 1 3 6 10 15 21 28 36 45)
- ;; as it should
- (def v (range 10))
- (def w (lazy-cat [0] (map + v w)))
- (println w)
- ;; this one fails
- ;; "Unable to resolve symbol: w1 in this context"
- (let [v1 (range 10)
- w1 (lazy-cat [0] (map + v1 w1))]
- (println w1))
Advertisement
Add Comment
Please, Sign In to add comment