diff --git a/src/swark/eav.cljc b/src/swark/eav.cljc index 8fd3db4..6617ad1 100644 --- a/src/swark/eav.cljc +++ b/src/swark/eav.cljc @@ -2,7 +2,7 @@ ;; Storing data as Entity / Attribute / Value rows -(defn- parse [f input] (f input)) +(defn- parse [f input] (cond-> input (ifn? f) f)) (defn ->rows "Returns a sequence of vectors with [entity-attribute entity-value attribute value]