   "
   [query-id & args]
   (let [computation-fn (last args)
-        input-args     (butlast args)    ;; may be empty, or one fn, or pairs of  :<- / vector
+        input-args     (butlast args) ;; may be empty, or one fn, or pairs of  :<- / vector
         err-header     (str "re-frame: reg-sub for " query-id ", ")
         inputs-fn      (case (count input-args)
                          ;; no `inputs` function provided - give the default
-                         0  (fn
-                              ([_] app-db)
-                              ([_ _] app-db))
+                         0 (fn
+                             ([_] app-db)
+                             ([_ _] app-db))
 
                          ;; a single `inputs` fn
-                         1  (let [f (first input-args)]
-                              (when-not (fn? f)
-                                (console :error err-header "2nd argument expected to be an inputs function, got:" f))
-                              f)
+                         1 (let [f (first input-args)]
+                             (when-not (fn? f)
+                               (console :error err-header "2nd argument expected to be an inputs function, got:" f))
+                             f)
 
                          ;; one sugar pair
                          2 (fn inp-fn

    ;; 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))]
