This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-06
Channels
- # announcements (13)
- # aws (3)
- # beginners (10)
- # calva (3)
- # clj-kondo (1)
- # clojure (63)
- # clojure-spec (15)
- # clojure-sweden (1)
- # clojure-uk (6)
- # community-development (2)
- # cursive (32)
- # datomic (20)
- # duct (1)
- # emacs (11)
- # events (1)
- # fulcro (32)
- # keechma (23)
- # luminus (2)
- # reagent (1)
- # ring (1)
- # shadow-cljs (23)
- # spacemacs (5)
- # specter (4)
- # sql (13)
- # tools-deps (16)
- # vim (1)
- # yada (2)
Can anyone explain this?
> (s/setval (s/regex-nav #"(?<=( |^))[a-z]") "_" "hello world")
"_ello _orld"
> (s/select (s/regex-nav #"(?<=( |^))[a-z]") "hello world")
[["h" ""] ["e" ""] ["l" ""] ["l" ""] ["o" ""] ["w" " "] ["o" ""] ["r" ""] ["l" ""] ["d" ""]]
what can you do with the result of traverse
that you can’t do with the result of select
?