-
I'm trying to write a recursive descendent parser with malli, here's what I have: (defn lit= [c]
[:fn (partial = c)])
(def let-schema [:cat (lit= 'let) [:+ [:cat symbol? :any]] :any]) However, the schema will not work because it matches EDIT: I tried provider with no good result:
|
Beta Was this translation helpful? Give feedback.
Answered by
glyh
Dec 15, 2022
Replies: 1 comment
-
Solved: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
glyh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved:
[:catn [:_ [:= 'defn]] [:name :symbol] [:bindings [:vector :symbol]] [:exp :any]]