This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-18
Channels
- # architecture (33)
- # asami (1)
- # aws (1)
- # babashka (19)
- # beginners (48)
- # bristol-clojurians (1)
- # calva (5)
- # cider (12)
- # cljdoc (15)
- # cljsrn (7)
- # clojure (151)
- # clojure-europe (19)
- # clojure-losangeles (1)
- # clojure-nl (2)
- # clojure-provo (4)
- # clojure-spec (9)
- # clojure-uk (21)
- # clojuredesign-podcast (28)
- # clojurescript (33)
- # core-typed (1)
- # cryogen (2)
- # css (6)
- # cursive (10)
- # data-science (1)
- # datomic (20)
- # events (3)
- # expound (72)
- # figwheel-main (5)
- # fulcro (43)
- # graalvm (6)
- # helix (1)
- # kaocha (13)
- # leiningen (2)
- # malli (1)
- # meander (93)
- # membrane (4)
- # off-topic (17)
- # pathom (6)
- # portland-or (5)
- # re-frame (25)
- # reagent (6)
- # reitit (7)
- # reveal (30)
- # shadow-cljs (25)
- # vim (2)
What solution do people have for paredit/parinfer -like functionality when writing babashka on the command line? I guess this is a more general clojure problem, but I only write (non-babashka) clojure in emacs buffers or the cider repl, where I have smartparens. Just looking for paren-balancing and slurp+barfing really.
I use this for Clojure: https://github.com/bhauman/rebel-readline
If the expression becomes too clumsy for the command line I usually put my expression in a .clj file and edit with emacs
yeah that's what I've take to doing. Is there a way to use a readline lib like rebel-readline with babashka, or would that be something of interest for the future?
currently not possible since this relies on jline, maybe something for the future, but probably not super high priority
out of interest @U0K064KQV, how do you get the paredit functionality working with rebel readline using clojure cli?
Add this alias to your ~/.clojure/deps.edn
:rebel {:extra-deps {com.bhauman/rebel-readline {:mvn/version "RELEASE"}}
:main-opts ["-m" "rebel-readline.main"]}
Then at the command line type: clojure -M:rebel
Is there a way with babashka/clj-kondo to have a call graph of a namespace? A graph showing which functions calls which? :)
This would help me to know which function to test/how to test it.
@neo2551 Yes, you can use clj-kondo as a pod from babashka and do something similar to https://github.com/benedekfazekas/morpheus
Thanks :)
just made a small github action that installs babashka: https://github.com/turtlequeue/setup-babashka