pathom

:pathom: https://github.com/wilkerlucio/pathom/ & https://pathom3.wsscode.com & https://roamresearch.com/#/app/wsscode
souenzzo 2020-07-05T13:02:27.272200Z

How do I avoid cacheing in these cases?

(let [register [(pc/resolver
                  `a {::pc/params [:v]
                      ::pc/output [:a]}
                  (fn [env _]
                    {:a (p/params env)}))]
      parser (ps/connect-serial-parser register)]
  (parser {} `[(:a {:v 1})
               (:a {:v         2
                    :pathom/as :b})]))