does anyone know how I would select a slice of elements within a sequence between two values?
I'm slicing a datomic query, and I want everything between :find
and :when
, so:
[:find ?id . :where [?id :app/type :type/form]]
=> [?id .]
[:find [?tid ...] :where [?tid :app/type :type/task]]
=> [[?tid ...]]
I guess I could use srange-dynamic