From 021f2be620ef841ac1998ccecd520f0048afce25 Mon Sep 17 00:00:00 2001 From: Richard Newman Date: Wed, 5 Oct 2016 14:07:07 -0700 Subject: [PATCH] Review comment: add comment about cljify. --- src/node/datomish/cljify.cljs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/node/datomish/cljify.cljs b/src/node/datomish/cljify.cljs index fe8691df..3feaa3b1 100644 --- a/src/node/datomish/cljify.cljs +++ b/src/node/datomish/cljify.cljs @@ -5,6 +5,9 @@ but successfully passes Clojure Records through. This allows JS API callers to round-trip values they receive from ClojureScript APIs." [x] + ;; This implementation is almost identical to js->clj, but it allows + ;; us to hook into the recursion into sequences and objects, and it + ;; passes through records. (if (record? x) x (cond