News for hackers. Stuff that matters.
Re:Elegant Error Handling with the JavaScript “Either” Monad by marcosdumay on Wednesday June 19, 2019 @12:34PM (#20224793)
But there is a difference in meaning. Left shortcuts, Right doesn't.

It would be bad to name it after error handling, but the entirely meaningless names aren't great either.

Re:Elegant Error Handling with the JavaScript “Either” Monad by jayshua on Wednesday June 19, 2019 @03:27PM (#20226515)
Left only shortcuts because of the implementation of the map function. There could just as easily be mapLeft and mapRight functions instead, allowing you to choose the shortcut behaviour.