noprompt / meander

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

Inability to use `&` on rhs #195

Closed ribelo closed 3 years ago

ribelo commented 3 years ago
(m/rewrite {:a 1 :b 2 :c 3 :d 4}
  (m/map-of !ks !vs)
  {& [[!ks !vs] ...]})

;; =>
;; Syntax error macroexpanding m/rewrite ...
;; non exhaustive pattern match
noprompt commented 3 years ago

@ribelo This seems to be compiling and passing a test created it for it.