• (is-query-var? sym)
Is this a query variable: e.g. a symbol prefixed with ??

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/datalog/util.clj:33 top

(defn is-query-var?
  "Is this a query variable: e.g. a symbol prefixed with ??"
  [sym]
  (when (symbol? sym)
    (let [name (name sym)]
      (and (= \? (first name))
           (= \? (fnext name))))))
Vars in clojure.contrib.datalog.util/is-query-var?: = and defn first fnext let name symbol? when
Used in 0 other vars

Comments top

No comments for is-query-var?. Log in to add a comment.