As I continue working on Exvalibur
, the generator for blazingly fast validators of maps based on sets of predefined rules, I have implemented custom guards and pattern matching of values.
I just blogged about how I used custom sigils to allow quoted expressions in the rules.