This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-25
Channels
- # babashka (65)
- # beginners (34)
- # biff (18)
- # calva (8)
- # clara (22)
- # clj-kondo (32)
- # clojure (24)
- # clojure-bay-area (4)
- # clojure-europe (135)
- # clojure-nl (3)
- # clojure-norway (9)
- # clojure-uk (1)
- # clojurescript (11)
- # clojutre (1)
- # core-async (8)
- # cursive (3)
- # datomic (31)
- # emacs (5)
- # fulcro (6)
- # graalvm (5)
- # graphql (3)
- # honeysql (1)
- # introduce-yourself (9)
- # kaocha (1)
- # lsp (65)
- # meander (5)
- # nbb (7)
- # nrepl (2)
- # off-topic (44)
- # rum (3)
- # shadow-cljs (23)
- # specter (1)
- # tools-deps (6)
- # vim (3)
- # xtdb (30)
anyone have tips for setting *print-namespace-maps*
to false
for all REPLS? (clj and cljs)
i was trying put the following into my src/user.clj
:
(alter-var-root #'*print-namespace-maps* (constantly false))
(prn {:asd/qwe 123 :asd/zxc 456})
and when i start a cursive local repl, it indeed just prints {:asd/qwe 123 :asd/zxc 456}
, BUT
1. if i comment out the alter-var-root
, it still prints the same
2. when eval the prn
form manually, it prints the undesired #:asd{:qwe 123, :zxc 456}
, regardless of whether the alter-var-root
is commented out or not
i haven't tried this in an isolated project yet, though, so i might have some interference from other libraries.