     "
   std-interceptors/trim-v)
 
-(def after
+(defn after
   "An interceptor factory, which is to say, a function which will return an interceptor.
 
   Returns an interceptor which runs a given function `f` in the `:after`


  This brings huge simplicity at the expense of some re-computation
  each time. This may be a very satisfactory trade-off in many cases."
  std-interceptors/enrich)

(def trim-v
  "An interceptor which removes the first element of the event vector,

    1. `path` may appear more than once in an interceptor chain. Progressive narrowing.
    2. if `:effects` contains no `:db` effect, can't graft a value back in.
  "
  [& args]
  (apply std-interceptors/path args))

(defn enrich
  "Interceptor factory which runs the given function `f` in the `after handler`
  position.  `f` is called with two arguments: `db` and `v`, and is expected to
  return a modified `db`.
