This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-23
Channels
- # aleph (8)
- # aws (2)
- # beginners (36)
- # cider (35)
- # cljs-dev (157)
- # cljsjs (3)
- # cljsrn (5)
- # clojure (97)
- # clojure-dev (5)
- # clojure-gamedev (3)
- # clojure-italy (27)
- # clojure-russia (11)
- # clojure-spec (19)
- # clojure-uk (39)
- # clojured (6)
- # clojurescript (87)
- # clojutre (4)
- # community-development (35)
- # cursive (8)
- # datascript (2)
- # datomic (14)
- # dirac (8)
- # duct (3)
- # figwheel (13)
- # fulcro (22)
- # graphql (20)
- # jobs (1)
- # london-clojurians (1)
- # off-topic (55)
- # onyx (3)
- # parinfer (3)
- # protorepl (39)
- # re-frame (3)
- # reagent (26)
- # ring (7)
- # ring-swagger (2)
- # rum (1)
- # shadow-cljs (107)
- # spacemacs (8)
- # test-check (4)
- # unrepl (3)
I'm having some trouble calling a local function inside of a peer query:
(d/q '[:find ?ft
:where
[_ :sitevisit/SiteVisitDate ?date]
[(hello ?date) ?ft]]
db)
I'm getting this error: CompilerException java.lang.RuntimeException: Unable to resolve symbol: hello in this context, compiling:(NO_SOURCE_PATH:54:9)
is there something I'm missing? regular std lib functions work fine. this function is declared directly before the function that contains this query.you need to use fully-qualified namespace names, @thosmos your-ns/hello
oh, of course! thanks @robert-stuttaford
if I have a datomic.db.Datum object is there a way to clone it? My ultimate goal is to convert datoms with byte arrays as their values into datoms with equivalent strings as their values.
The constructor requires e a-without-partition-bits, object, and tx with the op bit set (called tOp)
thanks @U09R86PA4. I saw .tOp
in the class info but I thought it was .t0p
with a zero and that didn't work