0.8.4-SNAPSHOT Arrow_down_16x16
  • (lvar)
  • (lvar name)
  • (lvar name gensym)

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/core/logic.clj:682 top

(defn lvar
  ([]
     (let [name (str (. clojure.lang.RT (nextID)))]
       (LVar. name nil (.hashCode name) nil)))
  ([name]
     (lvar name true))
  ([name gensym]
     (let [oname name
           name (if gensym
                  (str name "__" (. clojure.lang.RT (nextID)))
                  (str name))]
       (LVar. name oname (.hashCode name) nil))))
Vars in clojure.core.logic/lvar:
Used in 0 other vars

Comments top

No comments for lvar. Log in to add a comment.