3 ms·
You can't use the Result sum type without first checking if it is the valid case or the error case. The type system won't let you forget to check. it's remindin
by sirwhinesalot 3y ago
You can't use the Result sum type without first checking if it is the valid case or the error case. The type system won't let you forget to check. it's reminding you with red squiggles in your IDE. This is a good feature to have.