Base.valid_email2: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/store/base.bend as Base Lines 166-171 of cswap-bend-cli@0.1.0.0/store/base.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/store/base.bend&start_line=166&end_line=171 import Base def valid_email2(+parts: List<&2, String>) -> Bool: match parts: case Con{local, Con{host, Nil{}}}: nonempty(local) && all_chars(local, True{}) && valid_host(String.split(host, '.'), host) case _: False{} Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.split https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/base.bend&name=all_chars https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/base.bend&name=nonempty https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/base.bend&name=valid_host