content
Functions
Types of functions:
- Total functions return a valid
result for every possible argument. 1
- Partial functions can return bottom instead of a valid
result. 1
- Pure functions always produce
the same result given the same input and have no
side effects. 1