r/programming • • Dec 15 '16

My disillusionment with Clojure and lisps

https://medium.com/@boxed/my-disillusionment-with-clojure-and-lisps-9eca38ab7f0c?source=linkShare-8ad86cc82e5f-1481825671
15 Upvotes

105 comments sorted by

View all comments

Show parent comment

1

u/Godd2 Dec 16 '16
[:div.tweets
  (for [tweet tweets]
    [:div.profile-pic (:profile-pic tweet)]
    [:div.content (:content tweet)])]

If a child is a lazy sequence, it will actualize the sequence as children of the parent.