This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-17
Channels
- # announcements (8)
- # atom-editor (8)
- # aws (1)
- # babashka (96)
- # beginners (128)
- # calva (7)
- # cider (12)
- # cljsrn (1)
- # clojure (75)
- # clojure-europe (28)
- # clojure-hamburg (2)
- # clojure-italy (7)
- # clojure-nl (7)
- # clojure-norway (3)
- # clojure-uk (13)
- # clojurescript (26)
- # conjure (2)
- # cursive (18)
- # data-science (7)
- # datalog (21)
- # datomic (9)
- # duct (15)
- # expound (29)
- # figwheel-main (14)
- # fulcro (59)
- # helix (4)
- # jobs (2)
- # kaocha (19)
- # leiningen (15)
- # luminus (4)
- # malli (57)
- # meander (2)
- # off-topic (2)
- # pathom (12)
- # pedestal (8)
- # re-frame (53)
- # reitit (9)
- # remote-jobs (1)
- # shadow-cljs (64)
- # spacemacs (1)
- # specter (2)
- # tools-deps (12)
- # tree-sitter (2)
- # vim (11)
- # xtdb (17)
Hey guys - I posted this question in #conjure on Friday, the key bindings are for conjure but this is really a workflow issue. Does anyone have any suggestions on what I'm doing wrong / what I could do better?
@orestis it's still running the new code - the problem is that the deftest
declared a test foo
in the namespace in the running REPL session. I'm not sure how to clear out the namespace in the current REPL session without destroying it and starting all over again
Is there a feature like undef in conjure? https://liquidz.github.io/vim-iced/vim-iced.html#%3AIcedUndef
I'm on a boat trip until the weekend with my family but no, not yet, I usually just write out ns-unalias call and eval that. Which could totally be rigged up to a custom mapping calling through to ConjureEval. I'm sorry I can't help more this week! Learning how to drive and moor a boat is almost as hard as naming things in code
@bendy you can use remove-ns
to completely destroy the ns including all its definitions, then load the whole file to recreate it
Ohhh this is a really neat idea to be honest! I should look at adding some undef mappings for things like the word under your cursor or your whole file.
@bendy You might also look into clojure.tools.namespace.repl/reload