Fork me on GitHub
#meander
<
2020-06-25
>
nlessa15:06:48

Hi! (me/match '[?a :?a] [?e (me/app keyword ?e)] true) => fails What am I missing?

noprompt17:06:08

@nlessa I think because the pattern is backwards?

(m/match '[?a :?a]
  [(m/app keyword ?e) ?e]
  true)
;; => true

metal 3
noprompt17:06:53

In the example you shared keyword is being applied to :?a and then compared to '?a (`?e`) and fails.