Fork me on GitHub
#clojurescript
<
2021-07-11
>
didibus20:07:06

Does this work in ClojureScript:

(ns foo
  (:require [foo.bar :as bar]))
(require '[buzz.buzz :as buzz])
?

Joshua Suskalo21:07:21

There's been a recent release which did add this.

borkdude21:07:33

yes, it should work. moreover, if the second expression is generated by a macro, it also works in a recent version of CLJS

p-himik22:07:14

To whomever just asked about a shorter way to partition and combine strings but deleted their message - you can use a regex for that:

(clojure.string/replace "12345678" #"(\d\d)(?=\d)" "$1 ")
Now you have an extra problem though. ;)