Fork me on GitHub
#meander
<
2022-01-02
>
Ben Sless11:01:34

I feel like I'm missing something essential here:

(m/match {:b "b"}
  {:a ?a} [:a ?a]
  {:b ?b} [:b ?b]) ;; => [:a nil]

ribelo11:01:27

you missing m/some

ribelo11:01:31

(m/match {:b "b"}
  {:a (m/some ?a)} [:a ?a]
  {:b (m/some ?b)} [:b ?b])

Ben Sless11:01:45

Guess I was missing something 🙂

😆 1
Ben Sless11:01:12

:drum_with_drumsticks: