clerk 2023-11-16

hey all - is there a preferred way to call format inside of a viewer, like this:

(format "%.2f" 10.123123)
"10.12"

without mucking with the SCI config and installing goog.string/format?

Should be explicitly added if you want it

I was trying to avoid doing a custom clerk build, but in this case I’m already forced into it for other reasons so I can add it to clojure.core, I guess

thank you!

you can check the nbb configuration, it has goog.string/format

can Clerk recompute based on an atom change in its editor mode?

it looks like derefs aren’t currently watched in this SCI / editor mode