NX2@feddit.de to Programmer Humor@programming.dev · 3 年前What 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 · 3 年前message-square39fedilink
minus-squarenickAlinkfedilinkarrow-up2·3 年前I mean, List is a monad. It just happens that the mathematical pattern works well for encapsulating side effects too.
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up2·3 年前Oh, I know, it’s just not in-your-face. It’s entirely possible to use Lists without knowing that.
I mean, List is a monad. It just happens that the mathematical pattern works well for encapsulating side effects too.
Oh, I know, it’s just not in-your-face. It’s entirely possible to use Lists without knowing that.