noprompt / meander

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

Interpreter rewriter function not work fine #239

Open Legend-Lee opened 1 year ago

Legend-Lee commented 1 year ago

it works well. (let [q '[{:a !a} ...] f (i/rewriter q ['!a '...])] (f [{:a 1} {:a 2}])) => [1 2]

but this example throw exception, the only different is line 3 (let [q '[{:a !a} ...] f (i/rewriter q [{:c '!a} '...])] (f [{:a 1} {:a 2}])) Execution error (ArityException) at meander.pattern-factory.epsilon.Concat/concat-yield (epsilon.cljc:826). Wrong number of args (1) passed to: meander.pattern-factory.epsilon/pred/pred-make-query--23521/pred-query--23522

Thanks