are there any good examples of how to simulate tuples until it's implemented?
a quick google search for datomic composite keys -tuples
yields a few old links, like
1. https://datomic.narkive.com/1U7NjX27/composite-keys-on-entities-implementation-strategies
which is 5yrs old, but references a limited but reasonably useful solution: https://gist.github.com/wvdlaan/5772825
2. https://github.com/arohner/datomic-compound-index which has O(n) characteristics
and some more discussions on the datomic forum:
3. https://groups.google.com/forum/#!topic/datomic/iQ6CZ5pDMIQ
4. https://groups.google.com/forum/#!msg/datomic/cQ4eSIWVB6s/eB4muj4LdxUJ
5. https://groups.google.com/forum/#!msg/datomic/dhzwweFSiso/lqET7Isa6XcJ
is there a more up-to-date, more complete/battle-tested solution/recommendation somewhere?
Unfortunately I can't think of more than your examples right now. But we have planned to implement tuples over the next two months.