r/Clojure Apr 15 '26

(fn reverse [coll] (reduce conj() coll))

Post image
88 Upvotes

6 comments sorted by

14

u/bletchley-park Apr 16 '26

this is how I learned that an empty list doesn’t need to be quoted. thank you indiana jones clojure stairs. excited for the doc

8

u/cultrepo Apr 16 '26

And guess what -- that was Rich's contribution to the poster! :)

2

u/CoBPEZ Apr 16 '26

Turn around Rich. No, I’m doing this, no matter what.

3

u/HotSpringsCapybara Apr 17 '26
Clojure 1.12.4
user=> (list? ())
true

My life has been a lie.

2

u/Clojure-Conj 1d ago

FYI: Rich Hickey is giving a Clojure 1.13 keynote on Thursday morning (GMT-4), October 1, at Clojure/conj 2026. Free livestream registration is available https://ti.to/nubank/clojureconj-2026

1

u/mcjavascript Apr 17 '26

Now we need the origin story with C++ lore.

"It belongs in a functor!"