What is a total function?

The Eric Normand Podcast - A podcast by Eric Normand

Categories:

Total functions are functions that give you a valid return value for every combination of valid arguments. They never throw errors and they don’t require checks of the return value. Total functions help you write more robust code and simpler code, free from defensive checks and errors.