you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 year ago

The Either monad (also known as Result) provides Go-like error handling, but automated. You only check manually for errors after the last call, the monad handles the process.

But this is just one example of a monad, there are many more.

  • source
  • parent