Closed danfishgold closed 6 years ago
Thanks! I merged https://github.com/rtfeldman/elm-validate/pull/9 which added ifEmptyList
.
Now that elm-tools/parser
exists as a nicer alternative to regular expressions, I'd rather not couple the public-facing API to Regex
. (Internally, though, I'd rather not port that email regex to a Parser
... 😅) So I'm gonna close this.
Thanks again!
ifEmptyList
, similar toifEmptyDict
andifEmptySet
but forList
s.ifContains
andifDoesntContain
for checkingString
s against a regular expression.I don't think these are especially good names, but they are useful functions (at least for me.)