News for hackers. Stuff that matters.
Re:The power of Result types in Swift by dwaite on Sunday June 17, 2018 @09:15PM (#17335304)
I think it’s closer to Either
Re:The power of Result types in Swift by KirinDave on Sunday June 17, 2018 @10:37PM (#17335635)
Well, Either is a monad. Evolution of this style to avoid divergent nesting depths (The Codoken: http://i.imgur.com/BtjZedW.jpg) is a monad, even in the "railway" style of F#.