This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-14
Channels
- # aws (6)
- # babashka (31)
- # beginners (69)
- # biff (9)
- # boot (9)
- # bristol-clojurians (1)
- # calva (20)
- # chlorine-clover (2)
- # cider (8)
- # cljsrn (24)
- # clojure (25)
- # clojure-norway (4)
- # clojure-spec (29)
- # clojure-uk (7)
- # conjure (23)
- # datahike (5)
- # datomic (39)
- # emacs (4)
- # fulcro (4)
- # graalvm (11)
- # honeysql (1)
- # lambdaisland (1)
- # leiningen (8)
- # liberator (1)
- # libpython-clj (3)
- # malli (6)
- # mxnet (1)
- # off-topic (94)
- # pedestal (13)
- # re-frame (4)
- # releases (2)
- # shadow-cljs (8)
- # spacemacs (22)
- # sql (9)
- # vim (1)
would clojure.datafy be useful to have built-in to sci or bb? what would be a useful example of this? my impression is that this was created with an eye on REBL, but isn't that widely used yet in the community maybe?
> hmm, doesn’t that have to be in the same context? hashmaps and vector etc. returned from sci can just be walked by the main clojure app which called sci/eval-string.
datafy relies on some clojure internals like clojure.lang.Namespace
which works differently in sci
it would probably take a few hours to get it built-in. no problem, just want to know if and how this is useful
ok, think it would be useful to have the protocol exist, even if it’s not 100% compatible from the start
export BABASHKA_CLASSPATH=$(clojure -Sdeps '{:deps {seancorfield/readme {:mvn/version "RELEASE"}}}' -Spath)
$ bb -e "(require '[seancorfield.readme :as readme]) (readme/-main) "
Testing readme
Ran 1 tests containing 1 assertions.
0 failures, 0 errors.
with this in the README:
clojure
user=> (+ 1 2 3)
6
🙂i think the scicloj / data science folks may be using it -- i've seen them mention and discuss it on zulip.
babashka v0.1.2 Most notable: compatibility with clojure.data.generators and honeysql https://github.com/borkdude/babashka/blob/master/CHANGELOG.md#v012-unreleased
honeysql can be combined together with the postgresql or hsqldb pod: https://github.com/babashka/babashka-sql-pods#libraries
Please forgive my ignorance: is bb start time impacted by the size of the classpath?