       [key :as key])))
 
 
-(def ^:const data-type
-  "Value of `:data/type` that indicates a tablet node."
-  :merkle-db/patch)
+;; ## Tombstones
 
 (def tombstone
   "Value which marks the deletion of a record."



(defn filter-patch
  "Takes a full set of patch data and returns a cleaned sequence based on the
  given options."
  [patch opts]
  (when (seq patch)



(defn tombstone?
  "Returns true if the value is a tombstone."
  [x]
  (identical? ::tombstone x))



;; ## Specs

(def ^:const data-type
  "Value of `:data/type` that indicates a patch tablet node."
  :merkle-db/patch)

;; Maximum number of changes to allow in a patch tablet.
(s/def ::limit pos-int?)
