malli

https://github.com/metosin/malli :malli:
dangercoder 2021-02-19T14:24:59.118300Z

Hi! According to the docs there is a parse function which im very much interested in.

(m/parse
  [:* [:cat*
       [:prop string?]
       [:val [:alt*
              [:s string?]
              [:b boolean?]]]]]
  ["-server" "foo" "-verbose" true "-user" "joe"])
In what namespace does this function live? I tried looking through the code and could not find it. Also tried the example (I thought, well, maybe m is bound to malli.core) 🙂

ikitommi 2021-02-19T14:26:15.119300Z

it’s in master, and it’s malli.core/parse.

ikitommi 2021-02-19T14:26:52.120600Z

release soon, just need more tests and some docs.

1
dangercoder 2021-02-19T14:27:18.120900Z

I see its me looking in the wrong branch, sorry. I looked in 0.2.1