Function that returns an error can be pure
SHND opened this issue · comments
SHND commented
Instead of
A function that returns errors or throws exceptions is an example of a partial function.
Maybe we should remove the returns error part:
A function that throws exceptions is an example of a partial function.
If a function returns an error it may still be pure.
Enrico Polanski commented
Hey @SHND could you point me to the line?
SHND commented
functional-programming/README.md
Line 2299 in d741a9d