same thing, but if you're set on putting it in html can do a (clojure.string/replace html-str #"\{CSRF-TOKEN\}" token)
The first thing to ask is why do you think you have memory leak?
Where is the right place to read docs for clojure.lang.Sequential
? (The protocol)
"read Clojure's source"?
i've looked at https://clojure.github.io/clojure/clojure.core-api.html and https://clojuredocs.org/clojure.core/sequential_q
"Java perspective" part
in case others are curious, there's a relevant Lambda Island episode: https://lambdaisland.com/episodes/clojure-seq-seqable.
@teodorlu clojure.lang.Sequential
is a Java interface, not a protocol. The sequential?
predicate specifically tests for that interface, in the same way that the seq?
predicate specifically tests for the ISeq
interface. The latter actually has methods. The former is just a "marker" interface.
That Inside Clojure article is interesting in that it talks about seqable?
which we do have now.
Thanks for the clarification :thumbsup: