specter

Latest version: 1.1.3
idiomancy 2018-09-13T18:30:50.000100Z

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 ...]]

idiomancy 2018-09-13T18:33:45.000100Z

I guess I could use srange-dynamic