0.8.4-SNAPSHOT permalink Arrow_down_16x16

walk-record-term

clojure.core.logic

  • (walk-record-term v f)

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:941 top

(defn walk-record-term [v f]
  (with-meta
    (loop [v v r (-uninitialized v)]
      (if (seq v)
        (let [[vfk vfv] (first v)]
          (recur (next v) (assoc r (walk-term (f vfk) f)
                                 (walk-term (f vfv) f))))
        r))
    (meta v)))
Vars in clojure.core.logic/walk-record-term:
Used in 0 other vars

Comments top

No comments for walk-record-term. Log in to add a comment.