Fork me on GitHub
#beginners
<
2021-07-10
>
fabrao12:07:47

hello all, -> what is the meaning of this error ?

(-> {::config/config "a"}) -> "Invalid token: ::config/config"

lsenjov13:07:07

You don't have an alias for config in the namespace

fabrao15:07:28

hummm, yes I see now, thank you

Rob Haisfield18:07:33

Best way to convert a JSON to an EDN or Transit? I want to make my tweets.json more workable

Rob Haisfield18:07:06

Awesome, thank you @deleted-user!

💜 3
sova-soars-the-sora23:07:35

@deleted-user that’s a super cool profile image. Exhale some flowers.

sova-soars-the-sora23:07:05

Do y’all ever use “transient” or “persistent” in clojureland?

seancorfield23:07:38

@sova You mean the core functions transient and persistent!? Yes, we use them at work in a few places.

sova-soars-the-sora23:07:24

Yeah, I’m wondering when they would be useful

seancorfield23:07:06

They are to facilitate an optimization.

seancorfield23:07:06

If you are constructing a large hash map programmatically, for example, it can be more efficient to start with (transient {}) and build up the hash map and then call persistent! on it, than using purely immutable hash maps all the way through.