   (impose-external-bindings
     (assoc cc :wheres
            ;; Note that the order of clauses here means that cross-pattern var bindings
-           ;; come last That's OK: the SQL engine considers these altogether.
+           ;; come last. That's OK: the SQL engine considers these altogether.
            (concat (:wheres cc)
                    (bindings->where (:bindings cc))))))
 

              (assert external)
              (assert internal)
              [:= external internal]))
          vars)))))

(defn expand-where-from-bindings
  "Take the bindings in the CC and contribute

           [source
            from              ; [[:datoms 'datoms123]]
            external-bindings ; {?var0 (sql/param :foobar)}
            bindings          ; {?var1 [:datoms123.v]}
            known-types       ; {?var1 :db.type/integer}
            extracted-types   ; {?var2 :datoms123.value_type_tag}
            wheres            ; [[:= :datoms123.v 15]]
