Comment on Strings do too many things
hansl@lemmy.world 9 months agoWe were discussing validation, not parsing. There’s no parsing in an email. You might give it a type once it passes validation, but an email is just a string with an @
in it (and likely some . because you want at least 1 TLD but even that I’m not sure).