I'm just wondering what's the point of binding-conveyor-fn and why is the implementation so different from `bound-fn` et al. It seems that the core functions use only binding-conveyor-fn.
On Friday, 21 August 2020 at 20:32:14 UTC+2 Sean Corfield wrote: > Isn't that what bound-fn and bound-fn* are for? > > On Fri, Aug 21, 2020 at 11:21 AM Dimitrios Jim Piliouras < > jimpi...@gmail.com> wrote: > >> Hi folks, >> >> I don’t get this… >> >> Why would such a neat/important utility private? Every time I >> submit/schedule a function to some Executor manually (not via `future` >> or `agent`), I need to remember to wrap it with `binding-conveyor-fn` >> (otherwise dynamic bindings won’t get propagated), and every time I have to >> copy/paste it into whatever project I’m working in. >> >> Shouldn’t it, not only be public, but also come with a doc-string that >> strongly encourages its use when manually submitting functions to >> Executors? Am I missing something? >> >> Many thanks in advance... >> >> Kind regards, >> Dimitrios >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+u...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/clojure/A6C14F3B-D725-4B11-9A8F-4C008DC1BB3D%40gmail.com >> . >> > > > -- > Sean A Corfield -- (904) 302-SEAN > An Architect's View -- https://corfield.org/ > World Singles Networks, LLC. -- https://worldsinglesnetworks.com/ > > "Perfection is the enemy of the good." > -- Gustave Flaubert, French realist novelist (1821-1880) > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/89be86cf-b2c1-4fab-a9fa-80eae2142been%40googlegroups.com.