News for hackers. Stuff that matters.
Re:Elegant Error Handling with the JavaScript “Either” Monad by ubertaco on Wednesday June 19, 2019 @02:59PM (#20226222)
Yeah, I've heard the mnemonic "an Either contains either the Right answer or else whatever's Left", which is simple/punny enough to be memorable.
Re:Elegant Error Handling with the JavaScript “Either” Monad by dmix on Wednesday June 19, 2019 @04:57PM (#20227258)
That perfectly captures what it does too. Nice one.