About the `matches/1` builtin check. I completely forgot about it.
Thanks @Vonagam 😆 Added a year ago.
2 Replies
Hah, I use it quite often. Usually in
matches("should be good", &check_is_good/2)
form to not pollute dsl code.
Though when I chose name I did not know about built-in match
validation (about string patterns), if I did I would have chosen another name, like check
or something.We can always add a new function in builtins and deprecate that if we want.