This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-05
Channels
- # announcements (1)
- # babashka (6)
- # beginners (37)
- # clojure (4)
- # clojure-europe (6)
- # clojure-india (3)
- # clojure-spec (6)
- # clojured (1)
- # clojurescript (14)
- # datalog (5)
- # gratitude (1)
- # helix (3)
- # hyperfiddle (1)
- # interop (6)
- # leiningen (2)
- # off-topic (142)
- # other-lisps (2)
- # pathom (20)
- # releases (1)
- # rewrite-clj (4)
- # shadow-cljs (5)
- # tools-deps (3)
I'm trying to play around with https://github.com/google/zetasketch The java instructions say to start with
HyperLogLogPlusPlus<String> hll = new HyperLogLogPlusPlus.Builder().buildForStrings();
I've added the dependancy {:paths ["src" "resources"]
:deps {org.clojure/clojure {:mvn/version "1.10.1"}
com.google.zetasketch/zetasketch {:mvn/version "0.1.0"}}...}
and imported (:import [com.google.zetasketch HyperLogLogPlusPlus])
but
(HyperLogLogPlusPlus.)
gives me no matching ctor, and I don't seem to be able to import Builder, to be able to execute (HyperLogLogPlusPlus. Builder/buildForStrings)
am I missing something or is the package not as documented?Nested classes use $
as a separator
So (:import [com.google.zetasketch HyperLogPlusPlus$Builder])
And then use the $ in the code too
When you invoke the static method