pathom

:pathom: https://github.com/wilkerlucio/pathom/ & https://pathom3.wsscode.com & https://roamresearch.com/#/app/wsscode
souenzzo 2021-02-11T19:43:54.229900Z

pathom3 placeholders can replace values inside "entity"

(p.eql/process {} `[{(:>/a {:a 1})
                     [:a
                      {(:>/a {:a 2})
                       [:a]}]}])
                    
=> {:>/a {:a 1, :>/a {:a 2}}}
This is a explicit behavior?

wilkerlucio 2021-02-11T20:35:52.230200Z

yup, and there are examples mentioning this specific behavior

✔️ 1
wilkerlucio 2021-02-11T20:49:47.230400Z

from docs:

(p.eql/process env
  [{'(:>/bret {::first-name "Bret" ::last-name "Victor"})
    [::full-name
     {'(:>/bard {::first-name "Bard"})
      [::full-name]}]}])
; {:>/bret
;   {:com.wsscode.pathom3.docs.placeholder/full-name "Bret Victor",
;    :>/bard
;    {:com.wsscode.pathom3.docs.placeholder/full-name "Bard Victor"}}}

1