Fork me on GitHub
#datascript
<
2017-02-01
>
Niki07:02:12

> I think the error comes from the first two where clauses, using ?a in attribute position and then in entity position. I don't think attributes are entityids in datascript, like they are in datomic, they are simply keywords... (edited) that’s correct. Attributes are keywords @drewverlee

Niki07:02:27

@adamfrey that’s not intentional, but could be explained. Notifications are synchronous, so while you’re in listener 1 notification handler you still haven’t notified listenerer 2, but when you commit it has to notify l2 immediately

Niki07:02:38

that’s why they are in reverse

Niki07:02:30

eventually :)

adamfrey14:02:32

@tonsky thanks for your help! Datascript is fantastic and it makes my life so much better, btw.