This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-25
Channels
- # announcements (2)
- # asami (16)
- # babashka (55)
- # beginners (27)
- # calva (14)
- # cider (5)
- # clj-kondo (16)
- # cljs-dev (22)
- # clojure (72)
- # clojure-europe (89)
- # clojure-nl (10)
- # clojure-uk (7)
- # clojured (1)
- # clojurescript (14)
- # community-development (4)
- # core-async (15)
- # emacs (10)
- # events (2)
- # fulcro (3)
- # graalvm (1)
- # graalvm-mobile (71)
- # helix (7)
- # honeysql (2)
- # introduce-yourself (1)
- # jobs-discuss (17)
- # juxt (3)
- # lsp (62)
- # malli (13)
- # meander (7)
- # off-topic (14)
- # pathom (54)
- # polylith (6)
- # re-frame (11)
- # releases (1)
- # sci (22)
- # sql (9)
- # tools-deps (84)
- # vim (37)
- # xtdb (18)
is there some lib or tool in the JVM ecosystem that tries enumerating which methods in the JDK stdlib are side-effectul / side-effect-free?
V8 engine has it in some way When you write a function in the console, if it is side effect free, it show you the result as a preview. Anyway. I have interest too. Please share is you find something
@vemv GraalVM tries to analyze this to decide if static initalizers can be initialized at build time, perhaps look inside their codebase if they have some list. Not sure if they do it on the bytecode level or on a higher level.
Does anyone happen to know where aether determines the default m2 directory where to look for stuff? I have a native compilation of tools deps alpha, but somehow this location is captured at compile time
which results in weird errors like:
Caused by: java.io.FileNotFoundException: /home/circleci/.m2/repository/babashka/fs/0.0.1/fs-0.0.1.pom.part.lock (No such file or directory)
on a system that's not CI ;)clojure.tools.deps.alpha.util.maven/default-local-repo
would be my guessI could probably delay that computation
aw yeah, it works :) macOS: https://67-275632984-gh.circle-artifacts.com/0/release/tools-deps-native-0.0.1-SNAPSHOT-macos-amd64.zip linux: https://66-275632984-gh.circle-artifacts.com/0/release/tools-deps-native-0.0.1-SNAPSHOT-linux-amd64.zip usage:
./tools-deps-native '{:deps {babashka/fs {:mvn/version "0.0.1"}}}'
https://github.com/clojure/tools.deps.alpha/commit/5f0fb4f23a5e38aaaa1b13165540a63e791aaaf4