This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-25
Channels
- # aleph (18)
- # announcements (7)
- # asami (18)
- # babashka (15)
- # babashka-sci-dev (79)
- # beginners (61)
- # calva (4)
- # clj-kondo (23)
- # cljfx (16)
- # cljs-dev (6)
- # clojure (63)
- # clojure-bay-area (3)
- # clojure-europe (33)
- # clojure-nl (1)
- # clojure-survey (4)
- # clojure-uk (5)
- # clojurescript (37)
- # conjure (1)
- # cursive (8)
- # datahike (7)
- # datalevin (1)
- # datomic (30)
- # emacs (10)
- # events (2)
- # figwheel (2)
- # fulcro (20)
- # google-cloud (1)
- # lsp (6)
- # luminus (4)
- # malli (5)
- # music (3)
- # nextjournal (1)
- # off-topic (9)
- # other-languages (3)
- # pathom (16)
- # polylith (34)
- # re-frame (14)
- # reagent (19)
- # releases (6)
- # sci (2)
- # shadow-cljs (33)
tried (fs/list-dirs (:dirs config) (constantly true))
but it only returns the first level (including dirs)
Hey all, just made my toy library work with babashka https://github.com/rorokimdim/pp-grid I'll put more info in a thread
🎉 1
👍 1
Mostly works with babashka but there are some challenges due to my inexperience with clojure/bb
You can try it out like this: put this in bb.edn
{:deps {org.clojars.rorokimdim/pp-grid {:mvn/version "0.1.12"}}}
and an example
(require '[pp-grid.api :as g])
(defn make-tables []
(let [data [{:a 1 :b 2 :c 3}
{:a 10 :b 20 :c 30}]
t0 (g/table [:a :b] data)
t1 (g/table1 [:a :b] data)
t2 (g/table2 [:a :b] data)
t3 (g/table3 [:a :b] data)
matrix (g/matrix [:a :b] data)
alphabets (g/table* (map #(g/box1 (char %)) (range 65 91)) 10)]
(g/valign [t0 t1 t2 t3 matrix alphabets])))
(-> (make-tables)
str
println)
More examples available in the github repo.it doesn't happen in this simple case but I have something like this:
{:tasks
{a (do (Thread/sleep 100) 'fa)
b {:depends [a]
:task (println a)}}}
and the symbol of the previous task routinely is a channel object instead of the result value (using --parallel, also there is multiple tasks depending on earlier tasks)https://github.com/babashka/babashka/issues/1190 makes me want to get into generative testing lul