Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interpreter rewriter function not work fine #239

Open
Legend-Lee opened this issue Feb 7, 2023 · 0 comments
Open

Interpreter rewriter function not work fine #239

Legend-Lee opened this issue Feb 7, 2023 · 0 comments

Comments

@Legend-Lee
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant