Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

scan example from readme is broken? #2

Open
rgkirch opened this issue Dec 27, 2021 · 0 comments
Open

scan example from readme is broken? #2

rgkirch opened this issue Dec 27, 2021 · 0 comments

Comments

@rgkirch
Copy link

rgkirch commented Dec 27, 2021

(m/matches '(scan !path (scan !path (scan !path ?node)))
           [{:id 1
             :user {:name "Alise"
                    :role :admin}
             :actions [{:type :login}]}])

matchete version 1.1.0

Execution error (ArityException) at matchete.core/matcher* (core.cljc:223).
Wrong number of args (2) passed to: matchete.core/scan

matchete version 2.0.0
just returns an empty list ()

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

No branches or pull requests

1 participant