This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-10-19
Channels
- # announcements (5)
- # babashka (13)
- # beginners (62)
- # calva (46)
- # cider (24)
- # clj-kondo (4)
- # clojure (12)
- # clojure-europe (21)
- # clojure-hungary (1)
- # clojure-nl (1)
- # clojure-norway (18)
- # clojure-uk (6)
- # clojuredesign-podcast (4)
- # clojurescript (9)
- # conjure (1)
- # core-async (5)
- # datomic (3)
- # emacs (1)
- # holy-lambda (14)
- # hyperfiddle (36)
- # jobs-discuss (3)
- # joyride (7)
- # lsp (35)
- # om-next (1)
- # pedestal (11)
- # podcasts-discuss (1)
- # practicalli (2)
- # releases (3)
- # sci (17)
- # shadow-cljs (5)
- # testing (4)
- # tools-deps (10)
- # vim (2)
- # xtdb (5)
As Tatut wrote, you can use recur
.
If you call yourself normally, you'll add stack frames for each recursive call, and you might get a stack overflow.
If you use recur
instead, you will not add stack frames.
Not obvious to me what this has to do with XTDB.
https://clojuredocs.org/clojure.core/recur
https://clojure.org/reference/special_forms#recur
There’s also https://clojuredocs.org/clojure.core/trampoline and the #C053AK3F9 channel 🙂