noprompt / meander

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

interpreter - app not working. #248

Open jiegao1977 opened 8 months ago

jiegao1977 commented 8 months ago

When I use m/app in rewriter, the first one is working:

(let [s (i/rewriter '{:a ?a, :b ?b, :c ?c} '{:c {:a1 ?a, :b1 ?b, :c-plus (m/app inc ?c)}})] (s {:a 100 :b 200 :c 100}))

But below items not work, when there are 2 partakers to i/app.

(let [s (i/rewriter '{:a ?a, :b ?b, :c ?c} '{:c {:a1 ?a, :b1 ?b, :c-plus (m/app * ?a ?b)}})] (s {:a 100 :b 200 :c 100}))