This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-11
Channels
- # announcements (6)
- # architecture (14)
- # babashka (26)
- # beginners (22)
- # calva (11)
- # clj-kondo (2)
- # clj-on-windows (1)
- # cljsrn (10)
- # clojure (116)
- # clojure-europe (5)
- # clojure-uk (1)
- # clojurescript (5)
- # cursive (9)
- # datomic (21)
- # depstar (1)
- # events (1)
- # fulcro (2)
- # graalvm (17)
- # graalvm-mobile (28)
- # helix (3)
- # introduce-yourself (2)
- # jobs (2)
- # lsp (4)
- # meander (1)
- # off-topic (4)
- # pathom (5)
- # polylith (6)
- # practicalli (5)
- # reagent (67)
- # reitit (1)
- # releases (2)
- # shadow-cljs (24)
- # tools-deps (23)
Does this work in ClojureScript:
(ns foo
(:require [foo.bar :as bar]))
(require '[buzz.buzz :as buzz])
?There's been a recent release which did add this.
yes, it should work. moreover, if the second expression is generated by a macro, it also works in a recent version of CLJS
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. ;)