noprompt / meander

Tools for transparent data transformation
MIT License
922 stars 55 forks source link

$ with context doesn't work for records #151

Closed noprompt closed 3 years ago

noprompt commented 3 years ago

From Slack

(defrecord T [v])

(m/rewrite (->T :a)
  (m/$ ?ctx :a)
  (m/app ?ctx :b))
;; => {:v :b}

Output should be #T{:v :b}.