This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-09
Channels
- # announcements (3)
- # babashka (63)
- # beginners (55)
- # calva (14)
- # cider (12)
- # clj-commons (20)
- # clj-kondo (22)
- # clojure (149)
- # clojure-europe (4)
- # clojurescript (25)
- # community-development (3)
- # conjure (9)
- # datomic (5)
- # emacs (2)
- # fulcro (2)
- # hyperfiddle (6)
- # lsp (23)
- # nbb (4)
- # pedestal (2)
- # reagent (26)
- # releases (3)
- # sql (3)
- # xtdb (6)
evaling *1 might be an option
(nrepl-dict-get
(cider-nrepl-sync-request:eval "*1")
"value")
can i "trace" a function with cider? Just logging the input and output. Or how would you do achieve it?
it might be possible but personally I'd just reach for Tufte which emphasizes being fast / non-invasive
@U015KH5ENEM can that be done with an anonymous fn / lambda
@U01RGC7177E I don't know - try it and see. If not, I have found https://github.com/philoskim/debux to be a nice library.
i've tried it and it appears if cider needs a globally defined var. I've also tried to name the fn - however, it doesn't like that either. it wants the defn..
looking @ that library
quite interesting. thanks for the tip