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

scan example from readme is broken? #2

@rgkirch

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions