                              ([_ _] (subscribe (second input-args))))
 
                          ;; multiple sugar pairs
-                         (let [pairs   (partition 2 input-args)
-                               vecs    (map last pairs)]
-                           (when-not (every?  vector? vecs)
+                         (let [pairs (partition 2 input-args)
+                               vecs  (map last pairs)]
+                           (when-not (every? vector? vecs)
                              (console :error err-header "expected pairs of :<- and vectors, got:" pairs))
                            (fn inp-fn
                              ([_] (map subscribe vecs))

    ;; cache this reaction, so it can be used to deduplicate other, later "=" subscriptions
    (swap! query->reaction assoc cache-key r)
    (trace/merge-trace! {:tags {:reaction (reagent-id r)}})
    r))  ;; return the actual reaction

(defn cache-lookup
  ([query-v]

(defn- deref-input-signals
  [signals query-id]
  (let [signals (cond
                  (sequential? signals) (map deref signals)
                  (map? signals) (map-vals deref signals)
                  (deref? signals) @signals
                  :else (console :error "re-frame: in the reg-sub for " query-id ", the input-signals function returns: " signals))]
