Fork me on GitHub
#specter
<
2018-09-13
>
idiomancy18:09:50

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

idiomancy18:09:45

I guess I could use srange-dynamic