Open avnersch opened 5 years ago
This is my min-count phraser (which works):
(defphraser (cljs.core/<= min (cljs.core/count %) 9007199254740991)
[_ problem min]
(problem->err problem "min-count" #(str "Must contain at least "
(formatting/pluralize %1 min))))
Hi, Thanks a lot for this library!
I have defined the following spec:
And the following phrasers:
When running
phrase-first
with the following input:I expect the 2nd phraser to be matched, but actually the default phraser is matched:
Any ideas what am I missing? Thanks!