xapix-io/matchete

scan example from readme is broken?

rgkirch opened this issue · 0 comments

(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 ()