Absence and failure
A calculation may have no answer, or it may fail with an explanation. Make those possibilities part of its type, and let the caller choose what to do.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
A calculation may have no answer, or it may fail with an explanation. Make those possibilities part of its type, and let the caller choose what to do.