3 ms·
I was reading this because hey, safer enums. But I agree, Sum types are a must have. Particularly, decryption should be Authenticated, and so the correct retur
by tialaramex 5y ago
I was reading this because hey, safer enums. But I agree, Sum types are a must have.
Particularly, decryption should be Authenticated, and so the correct return type of a decrypt function is a Sum type, and if you don't have Sum types you can't do that.