Is there a method in the compiler or runtime that mangles a string to make it java-safe? A function that takes "a->b" and returns "a__GT__b"?
munge
?
That is it, thanks ๐.
Not a direct answer, but when having a "message-passey" system there's likely a pure-functional system hidden underneath (which is obviously a good thing) Many production :clj: codebases aren't pure-functional. If yours doesn't happen to be, perhaps you'd have it reasonably easy to make it so. The benefit being: you can create test suites that exercise failure scenarios comprehensively/generatively and instantly. This is very different to hand-crafting failure scenarios that run slowly (because they have to run kafka, datomic, spin up an aws instance, w/e)
if anyone's up for a bit of pair programming, I propose trying to add a simple feature to clojure-lsp (background on me: I usually do Haskell, and I'm trying to learn the clojure way)
1Hi @munichlinux Please donโt cross-post Qs between #beginners and #clojure
will keep that in mind
I extracted a standalone demo of how to use tatut/clj-chrome-devtools to render JS-rich HTML into downloadable PDFs, in case this is of use to anyone: https://github.com/rgm/experiments/tree/master/202102-headless-chrome
3๐1Really cool! Iโve been using this in the past to do similar https://github.com/alvarcarto/url-to-pdf-api
Oh neat, thanks. Another tool for the belt.