threatgrid / asami

A graph store for Clojure and ClojureScript
Eclipse Public License 1.0
634 stars 29 forks source link

Establish VarIndex as a type; index-vars as a fn #181

Closed noprompt closed 3 years ago

noprompt commented 3 years ago

This small patch extracts a (private) function called index-vars to the query namespace and updates the namespace to use it where applicable.

noprompt commented 3 years ago

I updated the file to use IFn for map lookups instead of get.