You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One trickier case would be (spec/def ::foo #{:north 1 "s"}). OTOH such an heterogeneous set would be probably universally bad - spec/or should be used instead.
Cheers - Victor
The text was updated successfully, but these errors were encountered:
Hi, thanks for the library!
Given this spec:
(spec/def ::orientation #{:north :south :east :west})
...spec-coerce cannot coerce "north" into
:north
.Is that expected behavior?
One trickier case would be
(spec/def ::foo #{:north 1 "s"})
. OTOH such an heterogeneous set would be probably universally bad -spec/or
should be used instead.Cheers - Victor
The text was updated successfully, but these errors were encountered: