Skip to content

Interpreter rewriter function not work fine #239

Open
@Legend-Lee

Description

@Legend-Lee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions