 ;; ---------------------------------------------------------------------
 ;; View helpers
 
-(declare view)
-
-(defn- literal [class x]
+(declare collection-view)
+
+(defn literal [class x]
   (dom/span #js {:className class :key x}
     (pr-str x)))
 
 (defn coll-view [data opener closer class]
-  (om/build view data
+  (om/build collection-view data
     {:opts {:opener opener :closer closer :class class}}))
 
-(defn inspect* [x]
+(defn inspect [x]
   (cond
     (satisfies? IInspect x)
     (-inspect x)

                                   :whiteSpace "pre-wrap"
                                   :width "100%"
                                   :overflowX "scroll"}}
           (inspect* data))))))

;; ---------------------------------------------------------------------
;; IInspect Implementation

    :else
    (literal "literal" x)))

(defn associative->dom
  [data {:keys [entry-class key-class val-class]}]
  (into-array
    (for [[k v] data]
