Fork me on GitHub
#malli
<
2021-02-23
>
ikitommi18:02:59

final change to figure out proper names for named branch -variants for: :cat, :alt and :or. they are currently :cat*, :alt* and :or* :face_with_rolling_eyes:

(m/parse
  [:*
   [:alt* 
    [:s :string]
    [:i :int]]]
  [1 "2" 3 "4"])
; => [[:i 1] [:s "2"] [:i 3] [:s "4]]

ikitommi18:02:20

:catn, :altn & :orn?

ikitommi18:02:38

:cat-named, :alt-named & :or-named?

9
ikitommi18:02:25

:alley-cat, :danger-mouse & :skeletor?

😆 9