datahike

https://datahike.io/, Join the conversation at https://discord.com/invite/kEBzMvb, history for this channel is available at https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/datahike
purrgrammer 2019-10-04T11:16:16.015200Z

according to the roadmap, the next major version (0.3.0) will include support for types like bytes and tuples, although I'm not sure what's planned exactly

2019-10-04T15:55:40.015400Z

oh my bad, I didn’t see it. Thanks!

cjsauer 2019-10-04T18:25:13.017300Z

Hey all, I just added datahike to a shadow-cljs project that also happens to include datascript, and I suddenly started seeing this warning:

------ WARNING #1 - :undeclared-var --------------------------------------------
 Resource: datascript/core.cljc:586:36
 Use of undeclared Var cljs.reader/register-tag-parser!
--------------------------------------------------------------------------------
Which points at this line in datascript: https://github.com/tonsky/datascript/blob/6b0094245d259aa67794d3c9284cd00b2701abec/src/datascript/core.cljc#L588 Datahike unsurprisingly has a similar line: https://github.com/replikativ/datahike/blob/7b70edb7ec7ff7c8fbcc2907d069a3f02866db31/src/datahike/core.cljc#L609 Perhaps there’s some conflict happening with cljs.reader?

cjsauer 2019-10-04T18:37:41.018600Z

Hm…`cljs.reader` is never actually required in the case of datahike. I suppose it technically doesn’t have cljs support, and so the #?(:cljs) tags might be confusing the compiler.

kkuehne 2019-10-07T09:09:53.019100Z

Datahike supported cljs for a time but with addition of newer features and update of some dependencies it broke. Right now we are discussing whether it is feasible to support both platforms.

cjsauer 2019-10-07T13:10:41.019700Z

Makes sense, thanks