   can be slow. So, you won't want this interceptor present in production
   code. So condition it out like this:
 
-    (re-frame.core/reg-event
+    (re-frame.core/reg-event-db
        :evt-id
        [(when ^boolean goog.DEBUG re-frame.core/debug)]  ;; <-- conditional
        (fn [db v]
          ...))
 
-  You'll also have to set goog.DEBUG to false in your production builds - look
-  in project.clj of /examples/todomvc.
+  To make this code fragment work, you'll also have to set goog.DEBUG to
+  false in your production builds - look in `project.clj` of /examples/todomvc.
   "
   (->interceptor
     :id     :debug


(def trim-v
  "An interceptor which removes the first element of the event vector,
  allowing you to write more aesthetically pleasing db handlers. No
  leading underscore on the event-v!
  Your event handlers will look like this:


  "Interceptor factory which runs a given function `f` in the \"after\"
  position, presumably for side effects.

  `f` is called with two arguments: the `:effects` value for `:db`
  (or the `coeffect` value of db if no db effect is returned) and the event.
  Its return value is ignored, so `f` can only side-effect.

  Examples use can be seen in the /examples/todomvc:
     - `f` runs schema validation (reporting any errors found).
     - `f` writes to localstorage."
  [f]
  (->interceptor
    :id    :after
