This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-06-19
Channels
- # ai (4)
- # announcements (1)
- # babashka (6)
- # beginners (31)
- # biff (1)
- # calva (11)
- # cider (9)
- # clerk (6)
- # clojure (40)
- # clojure-europe (49)
- # clojure-nl (1)
- # clojure-norway (30)
- # clojurescript (17)
- # conjure (1)
- # core-async (2)
- # datalevin (28)
- # emacs (1)
- # events (4)
- # fulcro (7)
- # gratitude (1)
- # guix (4)
- # hyperfiddle (19)
- # juxt (10)
- # luminus (4)
- # malli (4)
- # missionary (11)
- # nbb (3)
- # pedestal (7)
- # reagent (27)
- # reitit (2)
- # releases (1)
- # shadow-cljs (32)
- # tools-deps (6)
- # xtdb (5)
Is there a difference between (m/relieve {} (m/reductions conj >xs))
and (m/relieve conj >xs)
?
yes. m/relieve
doesn't accumulate and doesn't change payload type, it's only about consumption rate. (m/relieve conj >xs)
is likely wrong because conj
argument types are incompatible
Ok, m/relieve docs say "`When upstream is faster than downstream, overflowed values are successively reduced with given function rf.`
Is the doc correct or am I missing some nuance
ok so +
works but conj
is a type error
because (conj 1 2) on the first run