Fork me on GitHub
#malli
<
2021-02-19
>
dangercoder14:02:59

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

ikitommi14:02:15

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

ikitommi14:02:52

release soon, just need more tests and some docs.

hyper-clap 1
dangercoder14:02:18

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