NX2@feddit.de to Programmer Humor@programming.dev · 2 years agoWhat the f*ck is a monadfeddit.deimagemessage-square39fedilinkarrow-up1202arrow-down112
arrow-up1190arrow-down1imageWhat the f*ck is a monadfeddit.deNX2@feddit.de to Programmer Humor@programming.dev · 2 years agomessage-square39fedilink
minus-squarenickAlinkfedilinkarrow-up1·2 years agoKind of, being able to unwrap it doesn’t really follow the monad laws. A more correct example of a monad in OO would be something like a Promise in JavaScript imo.
Kind of, being able to unwrap it doesn’t really follow the monad laws. A more correct example of a monad in OO would be something like a Promise in JavaScript imo.