Fork me on GitHub
#clojure
<
2021-03-21
>
chrisn12:03:50

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"?

chrisn13:03:22

That is it, thanks 🙂.

Carlo14:03:50

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)

clojure-lsp 3
piyer19:03:05

>> (type (cons "asdf" [1 2 3]))
clojure.lang.Cons // expecting this to be persistentList
Any idea why this not persistentList.

seancorfield19:03:09

Hi @UGJ2DMT2S Please don’t cross-post Qs between #beginners and #clojure

piyer20:03:55

will keep that in mind

rgm23:03:43

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

👍 9
3
valtteri09:03:04

Really cool! I’ve been using this in the past to do similar https://github.com/alvarcarto/url-to-pdf-api

rgm13:03:52

Oh neat, thanks. Another tool for the belt.