This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-17
Channels
- # announcements (2)
- # aws (4)
- # babashka (20)
- # beginners (256)
- # calva (15)
- # chlorine-clover (1)
- # cider (12)
- # clj-kondo (25)
- # cljsrn (16)
- # clojure (115)
- # clojure-europe (7)
- # clojure-finland (5)
- # clojure-italy (10)
- # clojure-nl (35)
- # clojure-spec (13)
- # clojure-uk (83)
- # clojurescript (42)
- # code-reviews (81)
- # conjure (8)
- # cursive (6)
- # data-science (1)
- # datomic (3)
- # duct (18)
- # emacs (2)
- # figwheel-main (40)
- # fulcro (21)
- # helix (1)
- # jackdaw (7)
- # java (2)
- # lein-figwheel (5)
- # luminus (1)
- # observability (12)
- # off-topic (32)
- # parinfer (5)
- # pedestal (19)
- # re-frame (5)
- # reagent (8)
- # reitit (17)
- # rewrite-clj (47)
- # rum (19)
- # shadow-cljs (48)
- # spacemacs (4)
- # sql (40)
- # tools-deps (22)
- # vrac (1)
- # xtdb (25)
Is there an nrepl or socket repl client that doesn't require Clojure? I'm trying to develop on a remote machine running Alpine Linux with only Babashka installed
for one-off nrepl evaluations there's rep: https://github.com/eraserhd/rep -- this is a native-image binary
I think @bozhidar has a list of clients in his nREPL docs. I’m on the phone right now but can post the link later
Very exciting btw @porkostomus !
Here’s the link https://nrepl.org/nrepl/usage/clients.html
Oh cool, thanks!
@isak @nate About minimallist:
bb "(require '[minimallist.core :refer [valid?]] '[minimallist.helper :as h]) (valid? (h/fn int?) 1)"
true
Seems to work out of the box 🙂Even all the tests pass out of the box:
$ bb -cp "$BABASHKA_CLASSPATH":test-resources/lib_tests -e "(require '[minimallist.core-test]) (clojure.test/run-tests 'minimallist.core-test)"
Testing minimallist.core-test
Ran 1 tests containing 181 assertions.
0 failures, 0 errors.
{:test 1, :pass 181, :fail 0, :error 0, :type :summary}
Was just reminded of this cool feature: polyglot Makefiles with babashka: https://twitter.com/borkdude/status/1261358361523691520
(was reminded here: https://www.reddit.com/r/Clojure/comments/haof8u/is_there_a_makegulpjs_like_task_runner_in_clojure/)
another thing I just found out: *command-line-args*
can be rebound just like any other dynamic var:
(binding [*command-line-args* ["-Sdescribe"]]
(load-file "deps_test.clj"))
Is there something like `(System/getProperty "foo.version")` that can contain any kind of Object, not just strings? I proposed a System property before, but one has to parse the version with string/split etc to compare it for "newer" etc which might not be that ergonomic (although doable)